diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2020-02-24 13:22:18 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-24 13:22:17 -0800 |
| commit | c4a32e34f68c5d202b8a4a867963a1ecbb03b96e (patch) | |
| tree | 03332c832113fac81b848f92592316b599394459 /source/slang | |
| parent | 777ac2bdde2db8ec3f24034022acfb893924de5a (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/slang')
| -rw-r--r-- | source/slang/hlsl.meta.slang | 2 |
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 |
