summaryrefslogtreecommitdiff
path: root/tests/rewriter
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rewriter')
-rw-r--r--tests/rewriter/resources-in-structs.glsl8
-rw-r--r--tests/rewriter/type-splitting.hlsl6
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/rewriter/resources-in-structs.glsl b/tests/rewriter/resources-in-structs.glsl
index 206e4a8d8..8df64f244 100644
--- a/tests/rewriter/resources-in-structs.glsl
+++ b/tests/rewriter/resources-in-structs.glsl
@@ -42,10 +42,10 @@ uniform U
};
layout(binding = 1)
-uniform texture2D SLANG_parameterBlock_U_m_t;
+uniform texture2D SLANG_parameterGroup_U_m_t;
layout(binding = 2)
-uniform sampler SLANG_parameterBlock_U_m_s;
+uniform sampler SLANG_parameterGroup_U_m_s;
layout(location = 0)
in vec2 uv;
@@ -58,8 +58,8 @@ void main()
Material SLANG_tmp_0 = m;
color = evaluateMaterial(
SLANG_tmp_0,
- SLANG_parameterBlock_U_m_t,
- SLANG_parameterBlock_U_m_s, uv);
+ SLANG_parameterGroup_U_m_t,
+ SLANG_parameterGroup_U_m_s, uv);
}
#endif
diff --git a/tests/rewriter/type-splitting.hlsl b/tests/rewriter/type-splitting.hlsl
index c8d69f5fd..b3cad1ce0 100644
--- a/tests/rewriter/type-splitting.hlsl
+++ b/tests/rewriter/type-splitting.hlsl
@@ -47,12 +47,12 @@ cbuffer C
Foo foo;
}
-Texture2D SLANG_parameterBlock_C_foo_t;
-SamplerState SLANG_parameterBlock_C_foo_s;
+Texture2D SLANG_parameterGroup_C_foo_t;
+SamplerState SLANG_parameterGroup_C_foo_s;
float4 main() : SV_Target
{
- return SLANG_parameterBlock_C_foo_t.Sample(SLANG_parameterBlock_C_foo_s, foo.u);
+ return SLANG_parameterGroup_C_foo_t.Sample(SLANG_parameterGroup_C_foo_s, foo.u);
}
#endif