summaryrefslogtreecommitdiffstats
path: root/tools/gfx/render-graphics-common.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-01-21 12:21:00 -0800
committerGitHub <noreply@github.com>2021-01-21 12:21:00 -0800
commit6c8135fcd6c5ddb86ade74417e93383917d17cb2 (patch)
treef6f020371f0b3657b438f298a88bd5fc35ca64c1 /tools/gfx/render-graphics-common.cpp
parent4b978330dd4f5f96d1e4e4397cb3ddf7ff8abb3a (diff)
Add `StructuredBuffer` support in `gfx`. (#1666)
Diffstat (limited to 'tools/gfx/render-graphics-common.cpp')
-rw-r--r--tools/gfx/render-graphics-common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/render-graphics-common.cpp b/tools/gfx/render-graphics-common.cpp
index 92ccc376c..747659d11 100644
--- a/tools/gfx/render-graphics-common.cpp
+++ b/tools/gfx/render-graphics-common.cpp
@@ -146,7 +146,7 @@ public:
CASE(MutableTexture, StorageImage);
CASE(TypedBuffer, UniformTexelBuffer);
CASE(MutableTypedBuffer, StorageTexelBuffer);
- CASE(RawBuffer, UniformBuffer);
+ CASE(RawBuffer, ReadOnlyStorageBuffer);
CASE(MutableRawBuffer, StorageBuffer);
CASE(InputRenderTarget, InputAttachment);
CASE(InlineUniformData, InlineUniformBlock);