summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2020-02-24 13:22:18 -0800
committerGitHub <noreply@github.com>2020-02-24 13:22:17 -0800
commitc4a32e34f68c5d202b8a4a867963a1ecbb03b96e (patch)
tree03332c832113fac81b848f92592316b599394459 /source
parent777ac2bdde2db8ec3f24034022acfb893924de5a (diff)
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.
Diffstat (limited to 'source')
-rw-r--r--source/slang/hlsl.meta.slang2
1 files changed, 2 insertions, 0 deletions
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