mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-15 09:01:24 +00:00
- fix one more validation error
This commit is contained in:
parent
47ce44e5f0
commit
327b9a91f1
1 changed files with 1 additions and 1 deletions
|
@ -940,7 +940,7 @@ inline void RenderPassBuilder::addColorAttachment(bool clear, VkFormat format, V
|
|||
inline void RenderPassBuilder::addDepthStencilAttachment(bool clear, VkImageLayout layout)
|
||||
{
|
||||
VkAttachmentDescription depthAttachment = {};
|
||||
depthAttachment.format = VK_FORMAT_D32_SFLOAT_S8_UINT;
|
||||
depthAttachment.format = VK_FORMAT_D24_UNORM_S8_UINT;
|
||||
depthAttachment.samples = VK_SAMPLE_COUNT_1_BIT;
|
||||
depthAttachment.loadOp = clear ? VK_ATTACHMENT_LOAD_OP_CLEAR : VK_ATTACHMENT_LOAD_OP_LOAD;
|
||||
depthAttachment.storeOp = VK_ATTACHMENT_STORE_OP_STORE/*VK_ATTACHMENT_STORE_OP_DONT_CARE*/;
|
||||
|
|
Loading…
Reference in a new issue