summaryrefslogtreecommitdiff
path: root/source/slang/type-defs.h
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-07-10 10:52:30 -0700
committerTim Foley <tfoley@nvidia.com>2017-07-10 10:52:30 -0700
commitd6d49eac224a0d03c8f941deb59ee1520ff0ab5e (patch)
treee220ec5f54e5a5970a2307a87891a301d35f1546 /source/slang/type-defs.h
parentb2fb0f7134de4e0b1a0db685eb1ae3c0678a33c5 (diff)
Add support for `imageBuffer`
This was mostly just a missing `typedef` in the Slang standard library code. This should also cover `textureBuffer` and `samplerBuffer`.
Diffstat (limited to 'source/slang/type-defs.h')
-rw-r--r--source/slang/type-defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/type-defs.h b/source/slang/type-defs.h
index a01b49277..ae64cce2e 100644
--- a/source/slang/type-defs.h
+++ b/source/slang/type-defs.h
@@ -125,6 +125,7 @@ RAW(
Shape2D = SLANG_TEXTURE_2D,
Shape3D = SLANG_TEXTURE_3D,
ShapeCube = SLANG_TEXTURE_CUBE,
+ ShapeBuffer = SLANG_TEXTURE_BUFFER,
Shape1DArray = Shape1D | ArrayFlag,
Shape2DArray = Shape2D | ArrayFlag,