Skip to content

Commit

Permalink
vulkan: fix texture descriptor type in descriptor pools.
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Jan 26, 2025
1 parent 5c63a94 commit a53d68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/graphics/vulkan/Shader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ SharedDescriptorPools::SharedDescriptorPools(VkDevice device, int dynamicUniform

if (sampledTextures > 0)
{
size.type = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE;
size.type = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
size.descriptorCount = sampledTextures;
descriptorPoolSizes.push_back(size);
}
Expand Down

0 comments on commit a53d68b

Please sign in to comment.