diff options
| author | Phil Guo <phil@philguo.com> | 2019-03-13 09:01:25 -0700 |
|---|---|---|
| committer | Tim Foley <tfoleyNV@users.noreply.github.com> | 2019-03-13 09:01:25 -0700 |
| commit | 8fd57e2cefee6248f9daf46bbf112edb7d7b7d71 (patch) | |
| tree | 7afe3d3e8773f8db1e136060f1d9a4edfa7c693b /slang.h | |
| parent | bf92b6c33ba9a797ba56a5abd73a850390a16473 (diff) | |
Add SLANG_ACCELERATION_STRUCTURE resource shape for RaytracingAccelerationStructureType (#901)
* Add SLANG_ACCELERATION_STRUCTURE resource shape for RaytracingAccelerationStructureType
* Change order of resource shape cases
I've changed the order of the `UNKNOWN` and `ACCELERATION_STRUCTURE` cases so that the binary value of the `UNKNOWN` case isn't changed by the new feature.
Diffstat (limited to 'slang.h')
| -rw-r--r-- | slang.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1535,6 +1535,7 @@ extern "C" SLANG_STRUCTURED_BUFFER = 0x06, SLANG_BYTE_ADDRESS_BUFFER = 0x07, SLANG_RESOURCE_UNKNOWN = 0x08, + SLANG_ACCELERATION_STRUCTURE = 0x09, SLANG_RESOURCE_EXT_SHAPE_MASK = 0xF0, SLANG_TEXTURE_ARRAY_FLAG = 0x40, |
