diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-12 02:52:04 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:35 +0200 |
commit | d554778311c32e0a19ecdc13d7525b264d8443b5 (patch) | |
tree | 11329cc574aafbd2dde29e6161fb902ca67e8808 /src/video_core/renderer_vulkan/fixed_pipeline_state.cpp | |
parent | spirv/convert: Catch more signed operations oversights (diff) | |
download | yuzu-d554778311c32e0a19ecdc13d7525b264d8443b5.tar yuzu-d554778311c32e0a19ecdc13d7525b264d8443b5.tar.gz yuzu-d554778311c32e0a19ecdc13d7525b264d8443b5.tar.bz2 yuzu-d554778311c32e0a19ecdc13d7525b264d8443b5.tar.lz yuzu-d554778311c32e0a19ecdc13d7525b264d8443b5.tar.xz yuzu-d554778311c32e0a19ecdc13d7525b264d8443b5.tar.zst yuzu-d554778311c32e0a19ecdc13d7525b264d8443b5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/fixed_pipeline_state.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp b/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp index 1486d088a..f121fbf0e 100644 --- a/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp +++ b/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp @@ -84,6 +84,8 @@ void FixedPipelineState::Refresh(Tegra::Engines::Maxwell3D& maxwell3d, early_z.Assign(regs.force_early_fragment_tests != 0 ? 1 : 0); depth_enabled.Assign(regs.zeta_enable != 0 ? 1 : 0); depth_format.Assign(static_cast<u32>(regs.zeta.format)); + y_negate.Assign(regs.screen_y_control.y_negate != 0 ? 1 : 0); + provoking_vertex_last.Assign(regs.provoking_vertex_last != 0 ? 1 : 0); for (size_t i = 0; i < regs.rt.size(); ++i) { color_formats[i] = static_cast<u8>(regs.rt[i].format); @@ -91,8 +93,6 @@ void FixedPipelineState::Refresh(Tegra::Engines::Maxwell3D& maxwell3d, alpha_test_ref = Common::BitCast<u32>(regs.alpha_test_ref); point_size = Common::BitCast<u32>(regs.point_size); - y_negate.Assign(regs.screen_y_control.y_negate != 0 ? 1 : 0); - if (maxwell3d.dirty.flags[Dirty::InstanceDivisors]) { maxwell3d.dirty.flags[Dirty::InstanceDivisors] = false; for (size_t index = 0; index < Maxwell::NumVertexArrays; ++index) { |