yuzu/src
ReinUsesLisp bb1ed66d99 maxwell_3d: Fix depth clamping register
Using deko3d as reference:
4e47ba0013/source/maxwell/gpu_3d_state.cpp (L42)

We were using bits 3 and 4 to determine depth clamping, but these are
the same both enabled and disabled:

state->depthClampEnable ? 0x101A : 0x181D

The same happens on Nvidia's OpenGL driver, where they do something like
this (default capabilities, GL 4.5 compatibility):

(state & DEPTH_CLAMP) != 0 ? 0x201a : 0x281c

There's always a difference between the first bits in this register, but
bit 11 is consistently disabled on both deko3d/NVN and OpenGL. This
commit changes yuzu's behaviour to use bit 11 to determine depth
clamping.

- Fixes depth issues on Super Mario Odyssey's intro.
2020-04-27 20:50:14 -03:00
..
audio_core audio_renderer: Preliminary BehaviorInfo (#3736) 2020-04-20 22:57:30 -04:00
common Fix -Werror=conversion error. 2020-04-24 09:33:04 +02:00
core Merge pull request #3797 from slashiee/hid-stub 2020-04-27 15:37:08 -04:00
input_common Merge pull request #3673 from lioncash/extra 2020-04-16 21:12:33 -04:00
tests Merge pull request #3697 from lioncash/declarations 2020-04-23 02:18:52 -04:00
video_core maxwell_3d: Fix depth clamping register 2020-04-27 20:50:14 -03:00
web_service Merge pull request #3673 from lioncash/extra 2020-04-16 21:12:33 -04:00
yuzu Merge pull request #3742 from FernandoS27/command-list 2020-04-27 00:18:46 -04:00
yuzu_cmd Merge pull request #3742 from FernandoS27/command-list 2020-04-27 00:18:46 -04:00
yuzu_tester GPU: Add Fast GPU Time Option. 2020-04-23 08:52:57 -04:00
.clang-format
CMakeLists.txt CMakeLists: Make missing declarations a compile-time error 2020-04-16 23:43:41 -04:00