Merge pull request #18337 from hrydgard/fix-vulkan-32-bit

Fix for Vulkan on 32-bit devices, oops.
This commit is contained in:
Henrik Rydgård 2023-10-10 10:17:15 +02:00 committed by GitHub
commit 6319dc2a90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1242,8 +1242,8 @@ void VulkanQueueRunner::PerformRenderPass(const VKRStep &step, VkCommandBuffer c
if (pipeline != VK_NULL_HANDLE) {
vkCmdBindPipeline(cmd, VK_PIPELINE_BIND_POINT_GRAPHICS, pipeline);
descSets = &c.pipeline.pipelineLayout->frameData[curFrame].descSets_;
pipelineLayout = c.pipeline.pipelineLayout->pipelineLayout;
descSets = &c.graphics_pipeline.pipelineLayout->frameData[curFrame].descSets_;
pipelineLayout = c.graphics_pipeline.pipelineLayout->pipelineLayout;
lastGraphicsPipeline = graphicsPipeline;
pipelineOK = true;
} else {