diff options
Diffstat (limited to 'tests/bugs')
| -rw-r--r-- | tests/bugs/gh-941.slang.glsl | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/tests/bugs/gh-941.slang.glsl b/tests/bugs/gh-941.slang.glsl index 4330ece53..111cdb33c 100644 --- a/tests/bugs/gh-941.slang.glsl +++ b/tests/bugs/gh-941.slang.glsl @@ -1,9 +1,7 @@ -//TEST_IGNORE_FILE: - #version 450 - #extension GL_EXT_nonuniform_qualifier : require - +layout(row_major) uniform; +layout(row_major) buffer; struct SLANG_ParameterGroup_C_0 { vec2 uv_0; @@ -11,15 +9,13 @@ struct SLANG_ParameterGroup_C_0 }; layout(binding = 2) -layout(std140) -uniform _S1 +layout(std140) uniform _S1 { vec2 uv_0; uint index_0; -} C_0; - +}C_0; layout(binding = 0) -uniform texture2D t_0[]; +uniform texture2D t_0[]; layout(binding = 1) uniform sampler s_0; @@ -29,11 +25,7 @@ out vec4 _S2; void main() { - vec4 _S3 = texture( - sampler2D( - t_0[C_0.index_0], - s_0), - C_0.uv_0); - _S2 = _S3; + _S2 = (texture(sampler2D(t_0[C_0.index_0],s_0), (C_0.uv_0))); return; -}
\ No newline at end of file +} + |
