summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArielG-NV <159081215+ArielG-NV@users.noreply.github.com>2025-08-08 19:26:56 -0700
committerGitHub <noreply@github.com>2025-08-09 02:26:56 +0000
commit30646d4881c8f1d46bc8a4bf4049d0921a1c9b3c (patch)
tree74ada4c0709e125eb1a754da3f12a221c134660b
parent07f21ee31b5f427edb72d5578f713b3da3f3b96f (diff)
Fix `tests\bugs\op-select-return-composite.slang` Test Failing (#8132)
What is fixed: Since we make `vk` tests compile as GLSL, we must use a capability that specifies a GLSL equivalent. If we do not do this, we will get an error since we are not specifying GLSL capabilities (but are specifying a profile). Since a profile is specified, we emit capability errors.
-rw-r--r--tests/bugs/op-select-return-composite.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/op-select-return-composite.slang b/tests/bugs/op-select-return-composite.slang
index eb453d457..87eb7059b 100644
--- a/tests/bugs/op-select-return-composite.slang
+++ b/tests/bugs/op-select-return-composite.slang
@@ -1,6 +1,6 @@
//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=BUF):-d3d12 -output-using-type -use-dxil
//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=BUF):-vk -output-using-type
-//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=BUF):-vk -output-using-type -profile spirv_1_3
+//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=BUF):-vk -output-using-type -profile sm_6_0
//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=outputBuffer
RWStructuredBuffer<int> outputBuffer;