summaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/gh-4305.slang5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/bugs/gh-4305.slang b/tests/bugs/gh-4305.slang
index dd09bda1e..29d61f787 100644
--- a/tests/bugs/gh-4305.slang
+++ b/tests/bugs/gh-4305.slang
@@ -32,9 +32,10 @@ layout(local_size_x = 2, local_size_y = 2, local_size_z = 1) in;
[DerivativeGroupLinear]
#endif // #ifdef QUAD
[numthreads(2, 2, 1)]
-#endif //#ifndef MODIFIER
+#endif // #ifndef MODIFIER
+[shader("compute")]
void computeMain()
{
//BUF:1
outputBuffer[0] = t2D.Sample(samplerState, float2(0.5, 0.5));
-} \ No newline at end of file
+}