Skip to content

Commit

Permalink
Fix WGPU test by provding TEST_INPUT for outputBuffer (#5611)
Browse files Browse the repository at this point in the history
This makes tests/bugs/shadowed-lookup.slang pass on WGPU.
The underlying issue seems similar to #5277.
  • Loading branch information
aleino-nv authored Nov 20, 2024
1 parent ed123a9 commit a43b3c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion tests/bugs/shadowed-lookup.slang
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//TEST:COMPARE_COMPUTE_EX: -slang -compute
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

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

struct SomeType
Expand Down
1 change: 0 additions & 1 deletion tests/expected-failure-github.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ tests/bugs/frexp-double.slang.7 syn (wgpu)
tests/bugs/gh-3980.slang.7 syn (wgpu)
tests/bugs/gh-518.slang.2 syn (wgpu)
tests/bugs/op-assignment-unify-mat.slang.4 syn (wgpu)
tests/bugs/shadowed-lookup.slang.1 syn (wgpu)
tests/bugs/user-attribute-lookup.slang.2 syn (wgpu)
tests/compute/atomics (wgpu)
tests/compute/atomics-buffer (wgpu)
Expand Down

0 comments on commit a43b3c4

Please sign in to comment.