summaryrefslogtreecommitdiff
path: root/source/slang/emit.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-07-17 16:37:34 -0700
committerGitHub <noreply@github.com>2017-07-17 16:37:34 -0700
commit400e347ce9ad7aec38450398e0f563a9d59414cf (patch)
treea8f6a2334397ade3981f35d1ee764a4c325e0927 /source/slang/emit.cpp
parent0059ccb3997c2af87bc3f76524d8cd4787c20b7e (diff)
parentff4621460a98f34d74e4275841c313400cbda0dd (diff)
Merge pull request #112 from tfoleyNV/gh-94
Handle `Buffer` types more like textures
Diffstat (limited to 'source/slang/emit.cpp')
-rw-r--r--source/slang/emit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/emit.cpp b/source/slang/emit.cpp
index c6efa88dc..ef922c418 100644
--- a/source/slang/emit.cpp
+++ b/source/slang/emit.cpp
@@ -771,6 +771,7 @@ struct EmitVisitor
case TextureType::Shape2D: Emit("Texture2D"); break;
case TextureType::Shape3D: Emit("Texture3D"); break;
case TextureType::ShapeCube: Emit("TextureCube"); break;
+ case TextureType::ShapeBuffer: Emit("Buffer"); break;
default:
assert(!"unreachable");
break;