summaryrefslogtreecommitdiff
path: root/tests/bugs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/gh-941.slang.glsl7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/bugs/gh-941.slang.glsl b/tests/bugs/gh-941.slang.glsl
index d3c29820d..4330ece53 100644
--- a/tests/bugs/gh-941.slang.glsl
+++ b/tests/bugs/gh-941.slang.glsl
@@ -14,7 +14,8 @@ layout(binding = 2)
layout(std140)
uniform _S1
{
- SLANG_ParameterGroup_C_0 _data;
+ vec2 uv_0;
+ uint index_0;
} C_0;
layout(binding = 0)
@@ -30,9 +31,9 @@ void main()
{
vec4 _S3 = texture(
sampler2D(
- t_0[C_0._data.index_0],
+ t_0[C_0.index_0],
s_0),
- C_0._data.uv_0);
+ C_0.uv_0);
_S2 = _S3;
return;
} \ No newline at end of file