summaryrefslogtreecommitdiffstats
path: root/tests/pipeline
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/pipeline
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/pipeline')
-rw-r--r--tests/pipeline/rasterization/mesh/task-groupshared.slang1
-rw-r--r--tests/pipeline/rasterization/mesh/task-simple.slang1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/pipeline/rasterization/mesh/task-groupshared.slang b/tests/pipeline/rasterization/mesh/task-groupshared.slang
index 46334bf3e..4d88de780 100644
--- a/tests/pipeline/rasterization/mesh/task-groupshared.slang
+++ b/tests/pipeline/rasterization/mesh/task-groupshared.slang
@@ -32,6 +32,7 @@ struct MeshPayload
groupshared MeshPayload p;
[numthreads(1, 1, 1)]
+[shader("amplification")]
void taskMain(in uint tig : SV_GroupIndex)
{
p.exponent = 3;
diff --git a/tests/pipeline/rasterization/mesh/task-simple.slang b/tests/pipeline/rasterization/mesh/task-simple.slang
index 053b24045..61cc6da3d 100644
--- a/tests/pipeline/rasterization/mesh/task-simple.slang
+++ b/tests/pipeline/rasterization/mesh/task-simple.slang
@@ -35,6 +35,7 @@ struct MeshPayload
};
[numthreads(1, 1, 1)]
+[shader("amplification")]
void taskMain(in uint tig : SV_GroupIndex)
{
MeshPayload p;