summaryrefslogtreecommitdiff
path: root/tests/bugs/vk-structured-buffer-binding.hlsl.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/bugs/vk-structured-buffer-binding.hlsl.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/bugs/vk-structured-buffer-binding.hlsl.glsl')
-rw-r--r--tests/bugs/vk-structured-buffer-binding.hlsl.glsl6
1 files changed, 3 insertions, 3 deletions
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;
}