summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-11-06 06:46:17 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-11-06 06:46:17 +0000
commit4de58520987882e1daa162e31cabca3f334c20a8 (patch)
tree29ec4a5327f00f205ca4c370a5e1f9fd7dea5e4f /Graphics/GraphicsEngineVulkan
parentRefactored BufferBase (diff)
downloadDiligentCore-4de58520987882e1daa162e31cabca3f334c20a8.tar.gz
DiligentCore-4de58520987882e1daa162e31cabca3f334c20a8.zip
Refactored TextureBase
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp
index dca627d7..0fb3dd79 100644
--- a/Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/TextureVkImpl.cpp
@@ -498,7 +498,7 @@ void TextureVkImpl::CreateViewInternal(const TextureViewDesc& ViewDesc, ITexture
VERIFY(&TexViewAllocator == &m_dbgTexViewObjAllocator, "Texture view allocator does not match allocator provided during texture initialization");
auto UpdatedViewDesc = ViewDesc;
- CorrectTextureViewDesc(UpdatedViewDesc);
+ ValidatedAndCorrectTextureViewDesc(m_Desc, UpdatedViewDesc);
VulkanUtilities::ImageViewWrapper ImgView = CreateImageView(UpdatedViewDesc);
auto pViewVk = NEW_RC_OBJ(TexViewAllocator, "TextureViewVkImpl instance", TextureViewVkImpl, bIsDefaultView ? this : nullptr)(GetDevice(), UpdatedViewDesc, this, std::move(ImgView), bIsDefaultView);