correct dynamic rendering stencilAttachmentFormat

This commit is contained in:
Henry Rose authored and Baldur Karlsson committed 2023-04-21 10:32:14 +01:00
1 parent ba81d81c3a
commit ae718049f6
1 file changed
+1 -1
+1 -1
View File
@@ -952,7 +952,7 @@ void VulkanShaderCache::MakeGraphicsPipelineInfo(VkGraphicsPipelineCreateInfo &p
if(pipeInfo.renderpass == ResourceId())
{
dynRenderCreate.depthAttachmentFormat = pipeInfo.depthFormat;
dynRenderCreate.stencilAttachmentFormat = pipeInfo.depthFormat;
dynRenderCreate.stencilAttachmentFormat = pipeInfo.stencilFormat;
dynRenderCreate.colorAttachmentCount = (uint32_t)pipeInfo.colorFormats.size();
memcpy(colFormats, pipeInfo.colorFormats.data(), pipeInfo.colorFormats.byteSize());