From cbcb97a64c0b7b908fc7be565b0d6141d2f1a1f7 Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Wed, 29 Jan 2025 17:42:28 -0800 Subject: Update SPIRV submodules and fix tests (#6222) --- tests/bugs/gh-3780.slang | 4 ++-- tests/pipeline/rasterization/mesh/mesh-PerPrimitiveEXT.slang | 2 +- tests/pipeline/rasterization/mesh/primitive-output.slang | 2 +- tests/spirv/mesh-primitive.slang | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/bugs/gh-3780.slang b/tests/bugs/gh-3780.slang index 62a9542d7..ba5ea4c6b 100644 --- a/tests/bugs/gh-3780.slang +++ b/tests/bugs/gh-3780.slang @@ -1,4 +1,4 @@ -//TEST:SIMPLE(filecheck=CHECK): -target spirv -emit-spirv-directly +//TEST:SIMPLE(filecheck=CHECK): -target spirv -emit-spirv-directly -skip-spirv-validation // CHECK: OpEntryPoint @@ -55,4 +55,4 @@ FragmentOut entry_fragment(in Vertex vertex) FragmentOut frag_out; frag_out.color = float3(1,1,1); return frag_out; -} \ No newline at end of file +} diff --git a/tests/pipeline/rasterization/mesh/mesh-PerPrimitiveEXT.slang b/tests/pipeline/rasterization/mesh/mesh-PerPrimitiveEXT.slang index b5f4f215e..98b3d8751 100644 --- a/tests/pipeline/rasterization/mesh/mesh-PerPrimitiveEXT.slang +++ b/tests/pipeline/rasterization/mesh/mesh-PerPrimitiveEXT.slang @@ -1,5 +1,5 @@ // Test that a mesh shader generates PerPrimitiveNV decoration for OutputPrimitives -//TEST:SIMPLE(filecheck=CHECK):-target spirv -entry main -stage mesh -emit-spirv-directly +//TEST:SIMPLE(filecheck=CHECK):-target spirv -entry main -stage mesh -emit-spirv-directly -skip-spirv-validation // CHECK: OpDecorate %gl_PrimitiveID BuiltIn PrimitiveId // CHECK: OpDecorate %gl_PrimitiveID PerPrimitive{{NV|EXT}} diff --git a/tests/pipeline/rasterization/mesh/primitive-output.slang b/tests/pipeline/rasterization/mesh/primitive-output.slang index 683fe19d1..5bc62f263 100644 --- a/tests/pipeline/rasterization/mesh/primitive-output.slang +++ b/tests/pipeline/rasterization/mesh/primitive-output.slang @@ -2,7 +2,7 @@ // Test that a simple mesh shader compiles -//TEST:SIMPLE(filecheck=SPV_CHECK):-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 -skip-spirv-validation //SPV_CHECK-NOT: SPV_NV_mesh_shader //SPV_CHECK: SPV_EXT_mesh_shader diff --git a/tests/spirv/mesh-primitive.slang b/tests/spirv/mesh-primitive.slang index 4daf21749..ec0fd4d8b 100644 --- a/tests/spirv/mesh-primitive.slang +++ b/tests/spirv/mesh-primitive.slang @@ -1,4 +1,4 @@ -//TEST:SIMPLE(filecheck=CHECK): -target spirv -emit-spirv-directly +//TEST:SIMPLE(filecheck=CHECK): -target spirv -emit-spirv-directly -skip-spirv-validation // CHECK: OpDecorate %primitives_color Location 0 // CHECK: OpDecorate %primitives_color PerPrimitive @@ -61,4 +61,4 @@ FragmentOut entry_fragment(in nointerpolation Primitive prim) FragmentOut frag_out; frag_out.color = prim.color; return frag_out; -} \ No newline at end of file +} -- cgit v1.2.3