From 8fd57e2cefee6248f9daf46bbf112edb7d7b7d71 Mon Sep 17 00:00:00 2001 From: Phil Guo Date: Wed, 13 Mar 2019 09:01:25 -0700 Subject: 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. --- slang.h | 1 + 1 file changed, 1 insertion(+) (limited to 'slang.h') 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, -- cgit v1.2.3