remove unneeded layout info

pull/8/head
cosmonaut 2020-12-17 12:11:50 -08:00
parent 75093afddb
commit 91bea9e25a
2 changed files with 1 additions and 6 deletions

View File

@ -447,11 +447,6 @@ typedef struct REFRESH_PipelineLayoutCreateInfo
const uint32_t *vertexSamplerBindings; const uint32_t *vertexSamplerBindings;
uint32_t fragmentSamplerBindingCount; uint32_t fragmentSamplerBindingCount;
const uint32_t *fragmentSamplerBindings; const uint32_t *fragmentSamplerBindings;
uint32_t vertexParamBindingCount;
const uint32_t *vertexParamBindings;
uint32_t fragmentParamBindingCount;
const uint32_t *fragmentParamBindings;
} REFRESH_PipelineLayoutCreateInfo; } REFRESH_PipelineLayoutCreateInfo;
typedef struct REFRESH_ColorTargetDescription typedef struct REFRESH_ColorTargetDescription

View File

@ -1074,7 +1074,7 @@ static REFRESH_GraphicsPipeline* VULKAN_CreateGraphicsPipeline(
fragmentSamplerLayoutBindings[i].pImmutableSamplers = NULL; fragmentSamplerLayoutBindings[i].pImmutableSamplers = NULL;
} }
setLayoutCreateInfo.bindingCount = pipelineCreateInfo->pipelineLayoutCreateInfo.fragmentParamBindingCount; setLayoutCreateInfo.bindingCount = pipelineCreateInfo->pipelineLayoutCreateInfo.fragmentSamplerBindingCount;
setLayoutCreateInfo.pBindings = fragmentSamplerLayoutBindings; setLayoutCreateInfo.pBindings = fragmentSamplerLayoutBindings;
vulkanResult = renderer->vkCreateDescriptorSetLayout( vulkanResult = renderer->vkCreateDescriptorSetLayout(