diff --git a/include/Refresh.h b/include/Refresh.h index e77e7e7..a151233 100644 --- a/include/Refresh.h +++ b/include/Refresh.h @@ -447,11 +447,6 @@ typedef struct REFRESH_PipelineLayoutCreateInfo const uint32_t *vertexSamplerBindings; uint32_t fragmentSamplerBindingCount; const uint32_t *fragmentSamplerBindings; - - uint32_t vertexParamBindingCount; - const uint32_t *vertexParamBindings; - uint32_t fragmentParamBindingCount; - const uint32_t *fragmentParamBindings; } REFRESH_PipelineLayoutCreateInfo; typedef struct REFRESH_ColorTargetDescription diff --git a/src/Refresh_Driver_Vulkan.c b/src/Refresh_Driver_Vulkan.c index e7b2ca7..fed01a2 100644 --- a/src/Refresh_Driver_Vulkan.c +++ b/src/Refresh_Driver_Vulkan.c @@ -1074,7 +1074,7 @@ static REFRESH_GraphicsPipeline* VULKAN_CreateGraphicsPipeline( fragmentSamplerLayoutBindings[i].pImmutableSamplers = NULL; } - setLayoutCreateInfo.bindingCount = pipelineCreateInfo->pipelineLayoutCreateInfo.fragmentParamBindingCount; + setLayoutCreateInfo.bindingCount = pipelineCreateInfo->pipelineLayoutCreateInfo.fragmentSamplerBindingCount; setLayoutCreateInfo.pBindings = fragmentSamplerLayoutBindings; vulkanResult = renderer->vkCreateDescriptorSetLayout(