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/bugs/vk-structured-buffer-binding.hlsl.glsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/bugs/vk-structured-buffer-binding.hlsl.glsl') diff --git a/tests/bugs/vk-structured-buffer-binding.hlsl.glsl b/tests/bugs/vk-structured-buffer-binding.hlsl.glsl index f108aac00..18ed1a8a7 100644 --- a/tests/bugs/vk-structured-buffer-binding.hlsl.glsl +++ b/tests/bugs/vk-structured-buffer-binding.hlsl.glsl @@ -10,14 +10,14 @@ layout(std430, binding = 3, set = 4) buffer StructuredBuffer_uint_t_0 { } gDoneGroups_0; layout(location = 0) -out vec4 _S1; +out vec4 main_0; layout(location = 0) -in vec3 _S2; +in vec3 uv_0; void main() { - _S1 = vec4(float(gDoneGroups_0._data[uint(int(_S2.z))])); + main_0 = vec4(float(gDoneGroups_0._data[uint(int(uv_0.z))])); return; } -- cgit v1.2.3