From d52376a65f37fcbbb67428b917fd3819436b6dfb Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 2 May 2023 20:29:38 -0700 Subject: Various dxc/fxc compatibility fixes. (#2863) * Various dxc/fxc compatibility fixes. * Cleanup. * Fix test cases. * Fix comments. --------- Co-authored-by: Yong He --- tests/bugs/gh-941.slang.glsl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests/bugs') 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 -- cgit v1.2.3