Cleanup.
This commit is contained in:
parent
2d17b9866b
commit
cbdc8bf77c
@ -6251,11 +6251,12 @@ VK_DESTROY
|
|||||||
const VkImageLayout oldLayout = m_currentImageLayout;
|
const VkImageLayout oldLayout = m_currentImageLayout;
|
||||||
const VkImageLayout oldSingleMsaaLayout = m_currentSingleMsaaImageLayout;
|
const VkImageLayout oldSingleMsaaLayout = m_currentSingleMsaaImageLayout;
|
||||||
|
|
||||||
auto numLayers = _numLayers;
|
const uint32_t numLayers = false
|
||||||
if(m_type == VK_IMAGE_VIEW_TYPE_CUBE || VK_IMAGE_VIEW_TYPE_CUBE_ARRAY)
|
|| m_type == VK_IMAGE_VIEW_TYPE_CUBE
|
||||||
{
|
|| m_type == VK_IMAGE_VIEW_TYPE_CUBE_ARRAY
|
||||||
numLayers = m_numSides;
|
? m_numSides
|
||||||
}
|
: _numLayers
|
||||||
|
;
|
||||||
|
|
||||||
if (needResolve)
|
if (needResolve)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user