remove lineWidth from RasterizerState

cosmonaut 2022-03-14 10:43:01 -07:00 committed by Caleb Cornett
parent f205c26075
commit 8ec7705949
2 changed files with 1 additions and 3 deletions

View File

@ -486,7 +486,6 @@ typedef struct Refresh_RasterizerState
float depthBiasConstantFactor; float depthBiasConstantFactor;
float depthBiasClamp; float depthBiasClamp;
float depthBiasSlopeFactor; float depthBiasSlopeFactor;
float lineWidth;
} Refresh_RasterizerState; } Refresh_RasterizerState;
typedef struct Refresh_MultisampleState typedef struct Refresh_MultisampleState

View File

@ -5848,8 +5848,7 @@ static Refresh_GraphicsPipeline* VULKAN_CreateGraphicsPipeline(
pipelineCreateInfo->rasterizerState.depthBiasClamp; pipelineCreateInfo->rasterizerState.depthBiasClamp;
rasterizationStateCreateInfo.depthBiasSlopeFactor = rasterizationStateCreateInfo.depthBiasSlopeFactor =
pipelineCreateInfo->rasterizerState.depthBiasSlopeFactor; pipelineCreateInfo->rasterizerState.depthBiasSlopeFactor;
rasterizationStateCreateInfo.lineWidth = rasterizationStateCreateInfo.lineWidth = 1.0f;
pipelineCreateInfo->rasterizerState.lineWidth;
/* Multisample */ /* Multisample */