Skip to content

Commit

Permalink
Vulkan: Fix descriptor set layout order for latest SPIR-V
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed Nov 15, 2024
1 parent 70e208a commit b254e7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FNA3D_Driver_Vulkan.c
Original file line number Diff line number Diff line change
Expand Up @@ -5798,8 +5798,8 @@ static VkPipelineLayout VULKAN_INTERNAL_FetchPipelineLayout(
}

setLayouts[0] = pipelineLayoutHash.vertexSamplerLayout;
setLayouts[1] = pipelineLayoutHash.fragSamplerLayout;
setLayouts[2] = renderer->vertexUniformBufferDescriptorSetLayout;
setLayouts[1] = renderer->vertexUniformBufferDescriptorSetLayout;
setLayouts[2] = pipelineLayoutHash.fragSamplerLayout;
setLayouts[3] = renderer->fragUniformBufferDescriptorSetLayout;

layoutCreateInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO;
Expand Down

0 comments on commit b254e7b

Please sign in to comment.