parent
07fe7401a1
commit
72e8083b7c
12 changed files with 0 additions and 16 deletions
|
|
@ -463,7 +463,6 @@ void VulkanExample::prepareSparseTexture(uint32_t width, uint32_t height, uint32
|
|||
view.image = VK_NULL_HANDLE;
|
||||
view.viewType = VK_IMAGE_VIEW_TYPE_2D;
|
||||
view.format = format;
|
||||
view.components = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A };
|
||||
view.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT;
|
||||
view.subresourceRange.baseMipLevel = 0;
|
||||
view.subresourceRange.baseArrayLayer = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue