Compare commits

..

2 Commits

2 changed files with 1 additions and 4 deletions

View File

@ -486,7 +486,6 @@ typedef struct Refresh_ComputeShaderInfo
typedef struct Refresh_RasterizerState typedef struct Refresh_RasterizerState
{ {
uint8_t depthClampEnable;
Refresh_FillMode fillMode; Refresh_FillMode fillMode;
Refresh_CullMode cullMode; Refresh_CullMode cullMode;
Refresh_FrontFace frontFace; Refresh_FrontFace frontFace;

View File

@ -6144,7 +6144,7 @@ static Refresh_GraphicsPipeline* VULKAN_CreateGraphicsPipeline(
rasterizationStateCreateInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO; rasterizationStateCreateInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO;
rasterizationStateCreateInfo.pNext = NULL; rasterizationStateCreateInfo.pNext = NULL;
rasterizationStateCreateInfo.flags = 0; rasterizationStateCreateInfo.flags = 0;
rasterizationStateCreateInfo.depthClampEnable = pipelineCreateInfo->rasterizerState.depthClampEnable; rasterizationStateCreateInfo.depthClampEnable = VK_FALSE;
rasterizationStateCreateInfo.rasterizerDiscardEnable = VK_FALSE; rasterizationStateCreateInfo.rasterizerDiscardEnable = VK_FALSE;
rasterizationStateCreateInfo.polygonMode = RefreshToVK_PolygonMode[ rasterizationStateCreateInfo.polygonMode = RefreshToVK_PolygonMode[
pipelineCreateInfo->rasterizerState.fillMode pipelineCreateInfo->rasterizerState.fillMode
@ -10613,9 +10613,7 @@ static uint8_t VULKAN_INTERNAL_CreateLogicalDevice(
/* specifying used device features */ /* specifying used device features */
SDL_zero(deviceFeatures); SDL_zero(deviceFeatures);
deviceFeatures.occlusionQueryPrecise = VK_TRUE;
deviceFeatures.fillModeNonSolid = VK_TRUE; deviceFeatures.fillModeNonSolid = VK_TRUE;
deviceFeatures.depthClamp = VK_TRUE;
deviceFeatures.samplerAnisotropy = VK_TRUE; deviceFeatures.samplerAnisotropy = VK_TRUE;
/* creating the logical device */ /* creating the logical device */