summaryrefslogtreecommitdiff
path: root/tests/glsl
diff options
context:
space:
mode:
authorAnders Leino <aleino@nvidia.com>2025-03-12 13:44:57 +0200
committerGitHub <noreply@github.com>2025-03-12 13:44:57 +0200
commitf4d5372d3354e62770b076b47892b5172223e98a (patch)
tree48220e9716dd585ffa64635e977df2878fc63bdc /tests/glsl
parent7a942cfdc338d199b8e775d16b0b9b49699363d7 (diff)
Migrate render-test away from deprecated compile request API (#6514)
* Add a simple interface parameter test Since there's no documentation, it's nice to have a simple test case in order to experiment with this feature of the testing framework. * Add shader entry point attributes to tests * Fix specialization arguments for tests - Add some missing arguments - Rremove one extraneous argument. * Stop using deprecated compile request in render-test Use a session object instead of the deprecated compile request object. This closes issue #4760.
Diffstat (limited to 'tests/glsl')
-rw-r--r--tests/glsl/ssbo.slang1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/glsl/ssbo.slang b/tests/glsl/ssbo.slang
index 4f4db07cd..1eb2722ff 100644
--- a/tests/glsl/ssbo.slang
+++ b/tests/glsl/ssbo.slang
@@ -17,6 +17,7 @@ buffer MyBlockName2
} outputBuffer;
layout(local_size_x = 4) in;
+[shader("compute")]
void computeMain()
{
outputBuffer.data[gl_GlobalInvocationID.x] = inputBuffer.data[gl_GlobalInvocationID.x];