forked from MoonsideGames/Refresh
Compare commits
No commits in common. "611eb20185171913d3ed25f0da03b26cf7ee7d0c" and "7fd2e43bc0feacb237eddbb3a1f1faded1275faf" have entirely different histories.
611eb20185
...
7fd2e43bc0
|
@ -486,6 +486,7 @@ typedef struct Refresh_ComputeShaderInfo
|
|||
|
||||
typedef struct Refresh_RasterizerState
|
||||
{
|
||||
uint8_t depthClampEnable;
|
||||
Refresh_FillMode fillMode;
|
||||
Refresh_CullMode cullMode;
|
||||
Refresh_FrontFace frontFace;
|
||||
|
|
|
@ -6144,7 +6144,7 @@ static Refresh_GraphicsPipeline* VULKAN_CreateGraphicsPipeline(
|
|||
rasterizationStateCreateInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO;
|
||||
rasterizationStateCreateInfo.pNext = NULL;
|
||||
rasterizationStateCreateInfo.flags = 0;
|
||||
rasterizationStateCreateInfo.depthClampEnable = VK_FALSE;
|
||||
rasterizationStateCreateInfo.depthClampEnable = pipelineCreateInfo->rasterizerState.depthClampEnable;
|
||||
rasterizationStateCreateInfo.rasterizerDiscardEnable = VK_FALSE;
|
||||
rasterizationStateCreateInfo.polygonMode = RefreshToVK_PolygonMode[
|
||||
pipelineCreateInfo->rasterizerState.fillMode
|
||||
|
@ -10613,7 +10613,9 @@ static uint8_t VULKAN_INTERNAL_CreateLogicalDevice(
|
|||
/* specifying used device features */
|
||||
|
||||
SDL_zero(deviceFeatures);
|
||||
deviceFeatures.occlusionQueryPrecise = VK_TRUE;
|
||||
deviceFeatures.fillModeNonSolid = VK_TRUE;
|
||||
deviceFeatures.depthClamp = VK_TRUE;
|
||||
deviceFeatures.samplerAnisotropy = VK_TRUE;
|
||||
|
||||
/* creating the logical device */
|
||||
|
|
Loading…
Reference in New Issue