aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Device
diff options
context:
space:
mode:
authorriperiperi <rhy3756547@hotmail.com>2020-11-12 23:40:26 +0000
committerGitHub <noreply@github.com>2020-11-13 10:40:26 +1100
commitc6524942199eca97d3f9bd9e2e18a21b14069a8c (patch)
treefe05f647f7efa8abd6860880f2bca624c742adef /Ryujinx.Graphics.Device
parent48f6570557fc76496936514d94e3ccddf55ec633 (diff)
Use "Screen Scissor" as size hint for render targets (#1703)
"Screen scissor" is the minimum size of all render targets, and is set when any render target is bound on NVN or OpenGL. Since it works on all active texture's real sizes, it is therefore more reliable than viewport 0's width, and is actually set before clear. This fixes a regression with Hyrule Warriors: Age Of Calamity's cubemaps, which did not set viewport dimensions before clear. This resulted in attempting to create a cubemap with rectangular sides, which is logically and physically impossible. (also it just fails)
Diffstat (limited to 'Ryujinx.Graphics.Device')
0 files changed, 0 insertions, 0 deletions