diff options
| author | 2018-10-23 10:21:30 -0400 | |
|---|---|---|
| committer | 2018-10-23 10:21:30 -0400 | |
| commit | 75d807788ccaf64a478fdc48aecdb841baecc34e (patch) | |
| tree | 4fc8a09dcc0f1ad915ba7d65154fafd43ae684a2 /src/video_core/engines | |
| parent | Merge pull request #1512 from ReinUsesLisp/brk (diff) | |
| parent | Assert that multiple render targets are not set while alpha testing (diff) | |
| download | yuzu-75d807788ccaf64a478fdc48aecdb841baecc34e.tar.gz yuzu-75d807788ccaf64a478fdc48aecdb841baecc34e.tar.xz yuzu-75d807788ccaf64a478fdc48aecdb841baecc34e.zip | |
Merge pull request #1470 from FernandoS27/alpha_testing
Implemented Alpha Test using Shader Emulation
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index c8af1c6b6..0e09a7ee5 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h | |||
| @@ -643,8 +643,10 @@ public: | |||
| 643 | u32 d3d_cull_mode; | 643 | u32 d3d_cull_mode; |
| 644 | 644 | ||
| 645 | ComparisonOp depth_test_func; | 645 | ComparisonOp depth_test_func; |
| 646 | float alpha_test_ref; | ||
| 647 | ComparisonOp alpha_test_func; | ||
| 646 | 648 | ||
| 647 | INSERT_PADDING_WORDS(0xB); | 649 | INSERT_PADDING_WORDS(0x9); |
| 648 | 650 | ||
| 649 | struct { | 651 | struct { |
| 650 | u32 separate_alpha; | 652 | u32 separate_alpha; |