Skip to content

Commit 250409a

Browse files
damyanpCopilot
andauthored
Add missing REQUIRES: spirv to vk.sampledtexture.struct.error.hlsl (#8170)
Test uses `-spirv` but lacks the `REQUIRES: spirv` annotation, so it runs and fails under `-DENABLE_SPIRV_CODEGEN=OFF`. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent e3851c5 commit 250409a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/clang/test/SemaHLSL/vk.sampledtexture.struct.error.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 %s -spirv -fcgl -verify
23

34
struct Struct { float f; };

0 commit comments

Comments
 (0)