diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2020-02-14 09:43:02 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-14 09:43:02 -0800 |
| commit | dfd3d263704445b6dcebea54dc47193897548822 (patch) | |
| tree | 2551e86ca2abeb102513abc2404ed1eb4a023c2c /slang.h | |
| parent | fd61c775f2e0e744c4bbbc2672d42e17c6863c1c (diff) | |
Add a bunch of stdlib declarations for SM 6.4 and 6.5 (#1221)
The main thing this adds is the `RayQuery` type with its `TraceRayInline` method for DXR 1.1.
None of these new functions/types/constants have been tested, and many of them are not expected to work at all (e.g., we don't actually have any mesh shader support, so adding them as stage types is just for completeness at the API level).
I would like to write some test cases after this is checked in by looking for existing DXR 1.1 examples. We currently have an issue around default initialization that means we probably can't run any DXR 1.1 shaders right now with just the stdlib changes.
Diffstat (limited to 'slang.h')
| -rw-r--r-- | slang.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -652,6 +652,8 @@ extern "C" SLANG_STAGE_CLOSEST_HIT, SLANG_STAGE_MISS, SLANG_STAGE_CALLABLE, + SLANG_STAGE_MESH, + SLANG_STAGE_AMPLIFICATION, // alias: SLANG_STAGE_PIXEL = SLANG_STAGE_FRAGMENT, |
