Skip to content

Commit

Permalink
vulkan: fix RenderPass size (#6775)
Browse files Browse the repository at this point in the history
  • Loading branch information
poweifeng committed Apr 27, 2023
1 parent 899c15f commit 5e58af4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion filament/backend/src/vulkan/VulkanFboCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ class VulkanFboCache {
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
Expand Down

0 comments on commit 5e58af4

Please sign in to comment.