summaryrefslogtreecommitdiff
path: root/tests/rewriter/resources-in-structs.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rewriter/resources-in-structs.glsl')
-rw-r--r--tests/rewriter/resources-in-structs.glsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rewriter/resources-in-structs.glsl b/tests/rewriter/resources-in-structs.glsl
index 6273e8720..206e4a8d8 100644
--- a/tests/rewriter/resources-in-structs.glsl
+++ b/tests/rewriter/resources-in-structs.glsl
@@ -55,8 +55,9 @@ out vec4 color;
void main()
{
+ Material SLANG_tmp_0 = m;
color = evaluateMaterial(
- m,
+ SLANG_tmp_0,
SLANG_parameterBlock_U_m_t,
SLANG_parameterBlock_U_m_s, uv);
}