diff options
Diffstat (limited to 'tests/bindings')
| -rw-r--r-- | tests/bindings/array-of-struct-of-resource.hlsl | 2 | ||||
| -rw-r--r-- | tests/bindings/binding0.hlsl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/bindings/array-of-struct-of-resource.hlsl b/tests/bindings/array-of-struct-of-resource.hlsl index b34e0469b..240ffed73 100644 --- a/tests/bindings/array-of-struct-of-resource.hlsl +++ b/tests/bindings/array-of-struct-of-resource.hlsl @@ -4,7 +4,7 @@ // HLSL compiler would already do in the simple case (when // all shader parameters are actually used). -float4 use(Texture2D t, SamplerState s) { return t.Sample(s, 0.0); } +float4 use(Texture2D t, SamplerState samp) { return t.Sample(samp, 0.0); } #ifdef __SLANG__ diff --git a/tests/bindings/binding0.hlsl b/tests/bindings/binding0.hlsl index 5516b0135..2ae40ead3 100644 --- a/tests/bindings/binding0.hlsl +++ b/tests/bindings/binding0.hlsl @@ -24,7 +24,7 @@ #endif float4 use(float4 val) { return val; }; -float4 use(Texture2D t, SamplerState s) { return t.Sample(s, 0.0); } +float4 use(Texture2D tex, SamplerState samp) { return tex.Sample(samp, 0.0); } Texture2D t R(: register(t0)); SamplerState s R(: register(s0)); |
