mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-02-22 09:03:36 +00:00
Don't pass depth clip state right now (fix decals)
Explicitly disabling it is incorrect. OpenGL currently automatically disables based on depth clamp, which is the behaviour if this state is omitted.
This commit is contained in:
parent
1ab42e9ce8
commit
fb20e5b371
1 changed files with 1 additions and 8 deletions
|
@ -378,12 +378,6 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
PatchControlPoints = PatchControlPoints
|
||||
};
|
||||
|
||||
var depthClipState = new PipelineRasterizationDepthClipStateCreateInfoEXT()
|
||||
{
|
||||
SType = StructureType.PipelineRasterizationDepthClipStateCreateInfoExt,
|
||||
DepthClipEnable = false
|
||||
};
|
||||
|
||||
var rasterizationState = new PipelineRasterizationStateCreateInfo()
|
||||
{
|
||||
SType = StructureType.PipelineRasterizationStateCreateInfo,
|
||||
|
@ -396,8 +390,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
DepthBiasEnable = DepthBiasEnable,
|
||||
DepthBiasClamp = DepthBiasClamp,
|
||||
DepthBiasConstantFactor = DepthBiasConstantFactor,
|
||||
DepthBiasSlopeFactor = DepthBiasSlopeFactor,
|
||||
PNext = &depthClipState
|
||||
DepthBiasSlopeFactor = DepthBiasSlopeFactor
|
||||
};
|
||||
|
||||
var viewportState = new PipelineViewportStateCreateInfo()
|
||||
|
|
Loading…
Reference in a new issue