From e7b6de334f320429462a0257e2191ccf3cbc9a0d Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 24 Jan 2024 15:36:49 -0800 Subject: [SPIRV] Support `globallycoherent` and `[vk::index()]`. (#3488) * [SPIRV] Support `globallycoherent` modifier. * Fix. * Disable executable cooperative vector tests. * Update expected failure. * [SPIRV] Emit varying output index decoration. * Add test. * Update tests. * Fix test. * Emit `SpvExecutionModeEarlyFragmentTests`. * Lower `StructuredBuffer`. * Support globallycoherent on ByteAddressBuffer. --------- Co-authored-by: Yong He --- tests/pipeline/rasterization/mesh/nested-component-write.slang.glsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/pipeline/rasterization/mesh/nested-component-write.slang.glsl') diff --git a/tests/pipeline/rasterization/mesh/nested-component-write.slang.glsl b/tests/pipeline/rasterization/mesh/nested-component-write.slang.glsl index 4c70955a1..a372a868b 100644 --- a/tests/pipeline/rasterization/mesh/nested-component-write.slang.glsl +++ b/tests/pipeline/rasterization/mesh/nested-component-write.slang.glsl @@ -3,7 +3,7 @@ layout(row_major) uniform; layout(row_major) buffer; layout(location = 0) -out vec3 _S1[3]; +out vec3 verts_foo_bar_baz_color_0[3]; out gl_MeshPerVertexEXT { @@ -20,7 +20,7 @@ void main() if(gl_LocalInvocationIndex < 3U) { gl_MeshVerticesEXT[gl_LocalInvocationIndex].gl_Position = vec4(0.00000000000000000000, 0.00000000000000000000, 0.00000000000000000000, 1.00000000000000000000); - _S1[gl_LocalInvocationIndex] = vec3(1.00000000000000000000, 2.00000000000000000000, 3.00000000000000000000); + verts_foo_bar_baz_color_0[gl_LocalInvocationIndex] = vec3(1.00000000000000000000, 2.00000000000000000000, 3.00000000000000000000); } else { -- cgit v1.2.3