|
@@ -6384,11 +6384,7 @@ static SDL_GPUGraphicsPipeline *VULKAN_CreateGraphicsPipeline(
|
|
|
rasterizationStateCreateInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO;
|
|
|
rasterizationStateCreateInfo.pNext = NULL;
|
|
|
rasterizationStateCreateInfo.flags = 0;
|
|
|
- if (renderer->desiredDeviceFeatures.depthClamp) {
|
|
|
- rasterizationStateCreateInfo.depthClampEnable = !createinfo->rasterizer_state.enable_depth_clip;
|
|
|
- } else {
|
|
|
- rasterizationStateCreateInfo.depthClampEnable = VK_FALSE;
|
|
|
- }
|
|
|
+ rasterizationStateCreateInfo.depthClampEnable = !createinfo->rasterizer_state.enable_depth_clip;
|
|
|
rasterizationStateCreateInfo.rasterizerDiscardEnable = VK_FALSE;
|
|
|
rasterizationStateCreateInfo.polygonMode = SDLToVK_PolygonMode(
|
|
|
renderer,
|