Some more default values

This commit is contained in:
sunshineinabox 2024-08-10 17:16:48 -07:00
parent d6f05044ea
commit 49494b5b2d
1 changed files with 4 additions and 2 deletions

View File

@ -263,6 +263,9 @@ namespace Ryujinx.Graphics.Vulkan
SamplesCount = 1; SamplesCount = 1;
DepthMode = true; DepthMode = true;
PolygonMode = PolygonMode.Fill;
DepthBoundsTestEnable = false;
_supportsExtDynamicState = supportsExtDynamicState; _supportsExtDynamicState = supportsExtDynamicState;
_supportsExtDynamicState2 = extendedDynamicState2; _supportsExtDynamicState2 = extendedDynamicState2;
@ -414,7 +417,6 @@ namespace Ryujinx.Graphics.Vulkan
var rasterizationState = new PipelineRasterizationStateCreateInfo var rasterizationState = new PipelineRasterizationStateCreateInfo
{ {
SType = StructureType.PipelineRasterizationStateCreateInfo, SType = StructureType.PipelineRasterizationStateCreateInfo,
PolygonMode = PolygonMode,
DepthClampEnable = DepthClampEnable, DepthClampEnable = DepthClampEnable,
}; };
@ -453,7 +455,7 @@ namespace Ryujinx.Graphics.Vulkan
var depthStencilState = new PipelineDepthStencilStateCreateInfo var depthStencilState = new PipelineDepthStencilStateCreateInfo
{ {
SType = StructureType.PipelineDepthStencilStateCreateInfo, SType = StructureType.PipelineDepthStencilStateCreateInfo,
DepthBoundsTestEnable = false, DepthBoundsTestEnable = DepthBoundsTestEnable,
}; };
if (!_supportsExtDynamicState) if (!_supportsExtDynamicState)