summaryrefslogtreecommitdiff
path: root/tests/bugs/texture2d-gather.hlsl
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-12-05 19:33:55 -0800
committerGitHub <noreply@github.com>2024-12-06 03:33:55 +0000
commit7dabfa76ccfb396e9d2019e2b6e01259d1661dc5 (patch)
tree8f9a39b9d25d04051d02e63450f66c852d744e62 /tests/bugs/texture2d-gather.hlsl
parentecc5a39feecbf73feedf352214406c8752af798a (diff)
Implement explciit binding for metal and wgsl. (#5778)
* Respect explicit bindings in wgsl emit. * Implement explciit binding generation for metal and wgsl. * Update toc. * Fix warnings in tests. * Fix tests. --------- Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
Diffstat (limited to 'tests/bugs/texture2d-gather.hlsl')
-rw-r--r--tests/bugs/texture2d-gather.hlsl5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/bugs/texture2d-gather.hlsl b/tests/bugs/texture2d-gather.hlsl
index 9b0607eae..7344d863d 100644
--- a/tests/bugs/texture2d-gather.hlsl
+++ b/tests/bugs/texture2d-gather.hlsl
@@ -3,8 +3,9 @@
//TEST_INPUT: Texture2D(size=16, content=chessboard, format=R32_FLOAT):name g_texture
//TEST_INPUT: Sampler :name g_sampler
-Texture2D<float> g_texture : register(t0);
-SamplerState g_sampler : register(s0);
+Texture2D<float> g_texture;
+
+SamplerState g_sampler;
cbuffer Uniforms
{