Skip to content

Commit 60e6c76

Browse files
authored
Add constraint to test that requires spirv support (microsoft#7241)
This PR adds a // REQUIRES: spirv line to the top of a test that uses spirv. This prevents failures in dev environments that don't have spirv enabled.
1 parent 8b3fae2 commit 60e6c76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/clang/test/SemaHLSL/attributes/spv.inline.decorate.member.hlsl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: spirv
12
// RUN: %dxc -T ps_6_0 -E main -verify -spirv %s
23

34
struct S

0 commit comments

Comments
 (0)