summaryrefslogtreecommitdiffstats
path: root/slang.h
diff options
context:
space:
mode:
authorPhil Guo <phil@philguo.com>2019-03-13 09:01:25 -0700
committerTim Foley <tfoleyNV@users.noreply.github.com>2019-03-13 09:01:25 -0700
commit8fd57e2cefee6248f9daf46bbf112edb7d7b7d71 (patch)
tree7afe3d3e8773f8db1e136060f1d9a4edfa7c693b /slang.h
parentbf92b6c33ba9a797ba56a5abd73a850390a16473 (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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/slang.h b/slang.h
index 226bd86fd..5d9896073 100644
--- a/slang.h
+++ b/slang.h
@@ -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,