summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp
index 4562a073..58e99eb5 100644
--- a/Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp
@@ -78,6 +78,8 @@ TextureVkImpl :: TextureVkImpl(IReferenceCounters* pRefCounters,
TEXTURE_VIEW_TYPE DefaultTexView;
if(m_Desc.BindFlags & BIND_DEPTH_STENCIL)
DefaultTexView = TEXTURE_VIEW_DEPTH_STENCIL;
+ else if (m_Desc.BindFlags & BIND_UNORDERED_ACCESS)
+ DefaultTexView = TEXTURE_VIEW_UNORDERED_ACCESS;
else if (m_Desc.BindFlags & BIND_RENDER_TARGET)
DefaultTexView = TEXTURE_VIEW_RENDER_TARGET;
else