diff options
| author | ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> | 2024-04-01 13:42:32 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-01 10:42:32 -0700 |
| commit | 844a8d6274cb5e4927bf3241a94b2a9d9553df90 (patch) | |
| tree | dd42c7631a114d237fd59150e9c8e4ea39263849 /tests/pipeline | |
| parent | 75afa659e9a16589638083a1fcf9e879225619cd (diff) | |
Correctly emit spv extension targeting EXT rather than NV, added to test for this case (#3864)
CullPrimitive [follows capabilities to emit as per SPIR-V specification](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#_capability)
Diffstat (limited to 'tests/pipeline')
| -rw-r--r-- | tests/pipeline/rasterization/mesh/primitive-output.slang | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/pipeline/rasterization/mesh/primitive-output.slang b/tests/pipeline/rasterization/mesh/primitive-output.slang index 99d4f63b9..c83574d85 100644 --- a/tests/pipeline/rasterization/mesh/primitive-output.slang +++ b/tests/pipeline/rasterization/mesh/primitive-output.slang @@ -3,6 +3,11 @@ // Test that a simple mesh shader compiles //TEST:CROSS_COMPILE:-target spirv -profile glsl_450+spirv_1_4 -entry main -stage mesh +//TEST:SIMPLE(filecheck=SPV_CHECK):-target spirv -profile glsl_450+spirv_1_4 -entry main -stage mesh + +//SPV_CHECK-NOT: SPV_NV_mesh_shader +//SPV_CHECK: SPV_EXT_mesh_shader +//SPV_CHECK: CullPrimitiveEXT const static float2 positions[3] = { float2(0.0, -0.5), |
