From c4a32e34f68c5d202b8a4a867963a1ecbb03b96e Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Mon, 24 Feb 2020 13:22:18 -0800 Subject: Add two missing RAY_FLAG cases (#1240) These new cases were added in DXR 1.1 (Shader Model 6.5), while the `enum` type came from DXR 1.0, so that I failed to revisit it when adding the new features. --- source/slang/hlsl.meta.slang | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/slang/hlsl.meta.slang b/source/slang/hlsl.meta.slang index c3339cbb5..c8aae9158 100644 --- a/source/slang/hlsl.meta.slang +++ b/source/slang/hlsl.meta.slang @@ -1605,6 +1605,8 @@ static const RAY_FLAG RAY_FLAG_CULL_BACK_FACING_TRIANGLES = 0x10; static const RAY_FLAG RAY_FLAG_CULL_FRONT_FACING_TRIANGLES = 0x20; static const RAY_FLAG RAY_FLAG_CULL_OPAQUE = 0x40; static const RAY_FLAG RAY_FLAG_CULL_NON_OPAQUE = 0x80; +static const RAY_FLAG RAY_FLAG_SKIP_TRIANGLES = 0x100; +static const RAY_FLAG RAY_FLAG_SKIP_PROCEDURAL_PRIMITIVES = 0x200; // 10.1.2 - Ray Description Structure -- cgit v1.2.3