Scissor test implementation. Partially stubbed until geometry shaders… (#556)

* Scissor test implementation. Partially stubbed until geometry shaders are fixed

* Apply to all viewports when geometry shaders are disabled.

* Also apply enable cap to all viewports when geometry shaders are disabled

* Added fixme as per suggestion

Co-Authored-By: BaronKiko <BaronKiko@users.noreply.github.com>

* Apparently no alignment needed here.

* Comment on new line

* Correct height calculation
This commit is contained in:
BaronKiko 2019-01-13 21:26:42 +00:00 committed by emmauss
parent 8406ec6272
commit 0cd5ba03fe
4 changed files with 103 additions and 0 deletions

View file

@ -22,6 +22,9 @@ namespace Ryujinx.Graphics.Graphics3d
ClearNColor = 0x360,
ClearDepth = 0x364,
ClearStencil = 0x368,
ScissorEnable = 0x380,
ScissorHorizontal = 0x381,
ScissorVertical = 0x382,
StencilBackFuncRef = 0x3d5,
StencilBackMask = 0x3d6,
StencilBackFuncMask = 0x3d7,