summaryrefslogtreecommitdiff
path: root/tests/bugs/vk-structured-buffer-load.hlsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/vk-structured-buffer-load.hlsl')
-rw-r--r--tests/bugs/vk-structured-buffer-load.hlsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/bugs/vk-structured-buffer-load.hlsl b/tests/bugs/vk-structured-buffer-load.hlsl
index 0acc2e905..e8b1eae86 100644
--- a/tests/bugs/vk-structured-buffer-load.hlsl
+++ b/tests/bugs/vk-structured-buffer-load.hlsl
@@ -1,4 +1,4 @@
-//TEST_DISABLED:SIMPLE: -profile lib_6_3 -entry HitMain -stage closesthit -target spirv -o vk-structured-buffer-load.spv -D HLSL
+//TEST:CROSS_COMPILE: -profile lib_6_3 -entry HitMain -stage closesthit -target spirv-assembly
struct ParameterBlockTest
{
SamplerState sam;
@@ -19,5 +19,6 @@ void HitMain(inout RayHitInfoPacked RayData, BuiltInTriangleIntersectionAttribut
RayData.PackedHitInfoA.x = HitT;
uint offs = 0;
float offsfloat = gParamBlock.sbuf.Load(offs);
+
RayData.PackedHitInfoA.y = offsfloat;
}