diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-11-06 05:43:17 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-11-06 05:43:17 +0000 |
| commit | db5cfe224b9ff00234b29ff097262bc7377b90c4 (patch) | |
| tree | e903167999d17f714223d00466fb4e9ace05c811 /Graphics/GraphicsEngineVulkan | |
| parent | Renamed StringPool::Release to StringPool::Clear (diff) | |
| download | DiligentCore-db5cfe224b9ff00234b29ff097262bc7377b90c4.tar.gz DiligentCore-db5cfe224b9ff00234b29ff097262bc7377b90c4.zip | |
Refactored BufferBase
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
| -rw-r--r-- | Graphics/GraphicsEngineVulkan/src/BufferVkImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/BufferVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/BufferVkImpl.cpp index ef6685a3..605d1363 100644 --- a/Graphics/GraphicsEngineVulkan/src/BufferVkImpl.cpp +++ b/Graphics/GraphicsEngineVulkan/src/BufferVkImpl.cpp @@ -444,7 +444,7 @@ void BufferVkImpl::CreateViewInternal(const BufferViewDesc& OrigViewDesc, IBuffe VulkanUtilities::BufferViewWrapper BufferVkImpl::CreateView(struct BufferViewDesc& ViewDesc) { VulkanUtilities::BufferViewWrapper BuffView; - CorrectBufferViewDesc(ViewDesc); + ValidateAndCorrectBufferViewDesc(m_Desc, ViewDesc); if ((ViewDesc.ViewType == BUFFER_VIEW_SHADER_RESOURCE || ViewDesc.ViewType == BUFFER_VIEW_UNORDERED_ACCESS) && (m_Desc.Mode == BUFFER_MODE_FORMATTED || m_Desc.Mode == BUFFER_MODE_RAW)) { |
