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/bindings/glsl-parameter-blocks.slang.glsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/bindings') diff --git a/tests/bindings/glsl-parameter-blocks.slang.glsl b/tests/bindings/glsl-parameter-blocks.slang.glsl index c00ed8fe3..4bea5b8c3 100644 --- a/tests/bindings/glsl-parameter-blocks.slang.glsl +++ b/tests/bindings/glsl-parameter-blocks.slang.glsl @@ -18,14 +18,14 @@ layout(binding = 2) uniform sampler gTest_s_0; layout(location = 0) -out vec4 _S2; +out vec4 main_0; layout(location = 0) -in vec2 _S3; +in vec2 uv_0; void main() { - _S2 = gTest_0.a_0 + (texture(sampler2D(gTest_t_0,gTest_s_0), (_S3))); + main_0 = gTest_0.a_0 + (texture(sampler2D(gTest_t_0,gTest_s_0), (uv_0))); return; } -- cgit v1.2.3