aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache/buffer_block.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-05-26 00:57:38 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-05-26 16:33:50 -0300
commitd748723a7744c97d411cd4bbfa0e8a5daf7bdb7a (patch)
treeb3601eb861cda03dc6f12b752369f978de28a7b5 /src/video_core/buffer_cache/buffer_block.h
parentc4b6e36a00bd31e90c0686f6f17a21c37ac49da6 (diff)
gl_rasterizer: Port front face flip check from Vulkan
While Vulkan was assuming we had no negative viewports, OpenGL code was assuming we had them. Port the old code from Vulkan to OpenGL, checking if the first viewport is negative before flipping faces. This is not a complete implementation since we only check for the first viewport to be negative. That said, unless a game is using Vulkan, OpenGL and NVN games should be fine here, and we can always compare with our Vulkan backend to see if there's a difference.
Diffstat (limited to 'src/video_core/buffer_cache/buffer_block.h')
0 files changed, 0 insertions, 0 deletions