vulkan: fix RenderPass size (#6775) (#6776)

This commit is contained in:
Powei Feng
2023-04-27 14:09:46 -07:00
committed by GitHub
parent a974fddd4c
commit 2bdb8b560c

View File

@@ -52,7 +52,8 @@ public:
VulkanLayout initialDepthLayout : 4;
VulkanLayout renderPassDepthLayout : 4;
VulkanLayout finalDepthLayout : 4;
uint8_t padding : 4;
uint8_t padding0 : 4;
uint8_t padding1;
VkFormat colorFormat[MRT::MAX_SUPPORTED_RENDER_TARGET_COUNT]; // 32 bytes
VkFormat depthFormat; // 4 bytes