Skip to content

Commit 64c6cb1

Browse files
Fix user-attribute-lookup wgpu crash (shader-slang#5510)
The WGPU backend was crashing because of the unbound sampler state. Fix the test by adding a test sampler. Issue 5277 Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
1 parent 43df1da commit 64c6cb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/bugs/user-attribute-lookup.slang

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -shaderobj
22
//TEST(compute,vulkan):COMPARE_COMPUTE_EX:-vk -slang -compute -shaderobj
3-
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu
3+
//TEST_INPUT: Sampler:name samplerState
44

55
//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name outputBuffer
66
RWStructuredBuffer<int> outputBuffer;

0 commit comments

Comments
 (0)