summaryrefslogtreecommitdiff
path: root/tests/pipeline/rasterization/mesh/nested-component-write.slang.glsl
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-01-24 15:36:49 -0800
committerGitHub <noreply@github.com>2024-01-24 15:36:49 -0800
commite7b6de334f320429462a0257e2191ccf3cbc9a0d (patch)
tree7e2f6802a2f6fa5217903948efbd994b51e103b7 /tests/pipeline/rasterization/mesh/nested-component-write.slang.glsl
parentdd57306d951dbcaf6471659fcd1d2c37738f36d0 (diff)
[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<bool>`. * Support globallycoherent on ByteAddressBuffer. --------- Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tests/pipeline/rasterization/mesh/nested-component-write.slang.glsl')
-rw-r--r--tests/pipeline/rasterization/mesh/nested-component-write.slang.glsl4
1 files changed, 2 insertions, 2 deletions
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
{