summaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-05-02 20:29:38 -0700
committerGitHub <noreply@github.com>2023-05-02 20:29:38 -0700
commitd52376a65f37fcbbb67428b917fd3819436b6dfb (patch)
treeda25b3c9a00bd003b1970b4a6c4eb38eccf62aa1 /tests/bugs
parent55291b0bf6d729fcbaf75a01926da7da8975b8e9 (diff)
Various dxc/fxc compatibility fixes. (#2863)
* Various dxc/fxc compatibility fixes. * Cleanup. * Fix test cases. * Fix comments. --------- Co-authored-by: Yong He <yhe@nvidia.com>
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