Address PR feedback
This commit is contained in:
parent
76fdec30eb
commit
1d78e09e74
1 changed files with 22 additions and 22 deletions
|
@ -95,46 +95,46 @@ namespace Ryujinx.Graphics.Gal.OpenGL
|
||||||
FrontFace = GalFrontFace.CCW,
|
FrontFace = GalFrontFace.CCW,
|
||||||
|
|
||||||
CullFaceEnabled = false,
|
CullFaceEnabled = false,
|
||||||
CullFace = GalCullFace.Back,
|
CullFace = GalCullFace.Back,
|
||||||
|
|
||||||
DepthTestEnabled = false,
|
DepthTestEnabled = false,
|
||||||
DepthWriteEnabled = true,
|
DepthWriteEnabled = true,
|
||||||
DepthFunc = GalComparisonOp.Less,
|
DepthFunc = GalComparisonOp.Less,
|
||||||
DepthRangeNear = 0,
|
DepthRangeNear = 0,
|
||||||
DepthRangeFar = 1,
|
DepthRangeFar = 1,
|
||||||
|
|
||||||
StencilTestEnabled = false,
|
StencilTestEnabled = false,
|
||||||
|
|
||||||
StencilBackFuncFunc = GalComparisonOp.Always,
|
StencilBackFuncFunc = GalComparisonOp.Always,
|
||||||
StencilBackFuncRef = 0,
|
StencilBackFuncRef = 0,
|
||||||
StencilBackFuncMask = UInt32.MaxValue,
|
StencilBackFuncMask = UInt32.MaxValue,
|
||||||
StencilBackOpFail = GalStencilOp.Keep,
|
StencilBackOpFail = GalStencilOp.Keep,
|
||||||
StencilBackOpZFail = GalStencilOp.Keep,
|
StencilBackOpZFail = GalStencilOp.Keep,
|
||||||
StencilBackOpZPass = GalStencilOp.Keep,
|
StencilBackOpZPass = GalStencilOp.Keep,
|
||||||
StencilBackMask = UInt32.MaxValue,
|
StencilBackMask = UInt32.MaxValue,
|
||||||
|
|
||||||
StencilFrontFuncFunc = GalComparisonOp.Always,
|
StencilFrontFuncFunc = GalComparisonOp.Always,
|
||||||
StencilFrontFuncRef = 0,
|
StencilFrontFuncRef = 0,
|
||||||
StencilFrontFuncMask = UInt32.MaxValue,
|
StencilFrontFuncMask = UInt32.MaxValue,
|
||||||
StencilFrontOpFail = GalStencilOp.Keep,
|
StencilFrontOpFail = GalStencilOp.Keep,
|
||||||
StencilFrontOpZFail = GalStencilOp.Keep,
|
StencilFrontOpZFail = GalStencilOp.Keep,
|
||||||
StencilFrontOpZPass = GalStencilOp.Keep,
|
StencilFrontOpZPass = GalStencilOp.Keep,
|
||||||
StencilFrontMask = UInt32.MaxValue,
|
StencilFrontMask = UInt32.MaxValue,
|
||||||
|
|
||||||
BlendEnabled = false,
|
BlendEnabled = false,
|
||||||
BlendSeparateAlpha = false,
|
BlendSeparateAlpha = false,
|
||||||
|
|
||||||
BlendEquationRgb = 0,
|
BlendEquationRgb = 0,
|
||||||
BlendFuncSrcRgb = GalBlendFactor.One,
|
BlendFuncSrcRgb = GalBlendFactor.One,
|
||||||
BlendFuncDstRgb = GalBlendFactor.Zero,
|
BlendFuncDstRgb = GalBlendFactor.Zero,
|
||||||
BlendEquationAlpha = 0,
|
BlendEquationAlpha = 0,
|
||||||
BlendFuncSrcAlpha = GalBlendFactor.One,
|
BlendFuncSrcAlpha = GalBlendFactor.One,
|
||||||
BlendFuncDstAlpha = GalBlendFactor.Zero,
|
BlendFuncDstAlpha = GalBlendFactor.Zero,
|
||||||
|
|
||||||
ColorMask = ColorMaskRgba.Default,
|
ColorMask = ColorMaskRgba.Default,
|
||||||
|
|
||||||
PrimitiveRestartEnabled = false,
|
PrimitiveRestartEnabled = false,
|
||||||
PrimitiveRestartIndex = 0
|
PrimitiveRestartIndex = 0
|
||||||
};
|
};
|
||||||
|
|
||||||
for (int Index = 0; Index < GalPipelineState.RenderTargetsCount; Index++)
|
for (int Index = 0; Index < GalPipelineState.RenderTargetsCount; Index++)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue