summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-09-30 01:45:12 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-10-05 06:07:47 +0200
commitfe7f20e6590399523b8d40d644b5a44ed68a65cf (patch)
tree10a5d8a6d2f5298d19c0f307479c87a2922f80f1 /src/video_core/engines/maxwell_3d.cpp
parentMerge pull request #2923 from yuzu-emu/revert-2574-dynarmic-jit-nullptr (diff)
downloadyuzu-fe7f20e6590399523b8d40d644b5a44ed68a65cf.tar
yuzu-fe7f20e6590399523b8d40d644b5a44ed68a65cf.tar.gz
yuzu-fe7f20e6590399523b8d40d644b5a44ed68a65cf.tar.bz2
yuzu-fe7f20e6590399523b8d40d644b5a44ed68a65cf.tar.lz
yuzu-fe7f20e6590399523b8d40d644b5a44ed68a65cf.tar.xz
yuzu-fe7f20e6590399523b8d40d644b5a44ed68a65cf.tar.zst
yuzu-fe7f20e6590399523b8d40d644b5a44ed68a65cf.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
-rw-r--r--src/video_core/engines/maxwell_3d.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index b318aedb8..7802fd808 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -249,6 +249,11 @@ void Maxwell3D::InitDirtySettings() {
dirty_pointers[MAXWELL3D_REG_INDEX(polygon_offset_units)] = polygon_offset_dirty_reg;
dirty_pointers[MAXWELL3D_REG_INDEX(polygon_offset_factor)] = polygon_offset_dirty_reg;
dirty_pointers[MAXWELL3D_REG_INDEX(polygon_offset_clamp)] = polygon_offset_dirty_reg;
+
+ // Depth bounds
+ constexpr u32 depth_bounds_values_dirty_reg = DIRTY_REGS_POS(depth_bounds_values);
+ dirty_pointers[MAXWELL3D_REG_INDEX(depth_bounds[0])] = depth_bounds_values_dirty_reg;
+ dirty_pointers[MAXWELL3D_REG_INDEX(depth_bounds[1])] = depth_bounds_values_dirty_reg;
}
void Maxwell3D::CallMacroMethod(u32 method, std::size_t num_parameters, const u32* parameters) {