Support depth-1 volume textures. (#3883)

This commit is contained in:
Branimir Karadžić
2026-08-12 18:24:25 -07:00
committed by GitHub
parent 0af3dac7bf
commit 3d3b08778e
11 changed files with 59 additions and 32 deletions
+1 -1
View File
@@ -6805,7 +6805,7 @@ VK_DESTROY
: VK_IMAGE_VIEW_TYPE_CUBE
;
}
else if (imageContainer.m_depth > 1)
else if (isVolume(imageContainer) )
{
m_type = VK_IMAGE_VIEW_TYPE_3D;
}