summaryrefslogtreecommitdiff
path: root/tests/hlsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hlsl')
-rw-r--r--tests/hlsl/tbuffer.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hlsl/tbuffer.slang b/tests/hlsl/tbuffer.slang
index a1bebf2e1..cb014bf2b 100644
--- a/tests/hlsl/tbuffer.slang
+++ b/tests/hlsl/tbuffer.slang
@@ -35,6 +35,6 @@ tbuffer tbuf2 : register(t1)
RWStructuredBuffer<float4> outputBuffer;
[numthreads(1,1,1)]
-float4 computeMain() {
+void computeMain() {
outputBuffer[0] = tb_val1 + texture2D[0] + tb_val2;
}