mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-27 02:53:04 +00:00
Some more default values
This commit is contained in:
parent
d6f05044ea
commit
49494b5b2d
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue