summaryrefslogtreecommitdiff
path: root/tests/hlsl/raypayload-attribute.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hlsl/raypayload-attribute.slang')
-rw-r--r--tests/hlsl/raypayload-attribute.slang9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/hlsl/raypayload-attribute.slang b/tests/hlsl/raypayload-attribute.slang
index b981589ac..1a9e9a7f5 100644
--- a/tests/hlsl/raypayload-attribute.slang
+++ b/tests/hlsl/raypayload-attribute.slang
@@ -1,8 +1,9 @@
-//enable when https://github.com/shader-slang/slang/issues/3448 is implemented
-//DISABLE_TEST:SIMPLE(filecheck=CHECK): -target hlsl -stage raygeneration -entry rayGenShaderA
-
-// CHECK: struct [raypayload]
+//TEST:SIMPLE(filecheck=CHECK): -target hlsl -profile lib_6_6 -stage raygeneration -entry rayGenShaderA
+//TEST:SIMPLE(filecheck=DXIL): -target dxil -profile lib_6_6 -stage raygeneration -entry rayGenShaderA
+// CHECK: struct RayPayload
+// CHECK: float4 color
+// DXIL: define void @
struct RayPayload
{
float4 color;