summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-04-19 06:25:52 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-22 00:55:44 +0200
commit0bbae63300fc83505d34f5ca3f9a5be10e42d7c7 (patch)
treea7a1b11034b64ca73adea93260efe0d98bc30707 /src/video_core/engines
parentMerge pull request #3718 from ReinUsesLisp/better-pipeline-state (diff)
downloadyuzu-0bbae63300fc83505d34f5ca3f9a5be10e42d7c7.tar
yuzu-0bbae63300fc83505d34f5ca3f9a5be10e42d7c7.tar.gz
yuzu-0bbae63300fc83505d34f5ca3f9a5be10e42d7c7.tar.bz2
yuzu-0bbae63300fc83505d34f5ca3f9a5be10e42d7c7.tar.lz
yuzu-0bbae63300fc83505d34f5ca3f9a5be10e42d7c7.tar.xz
yuzu-0bbae63300fc83505d34f5ca3f9a5be10e42d7c7.tar.zst
yuzu-0bbae63300fc83505d34f5ca3f9a5be10e42d7c7.zip
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/maxwell_3d.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 59d5752d2..7bbc6600b 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -1259,7 +1259,8 @@ public:
GPUVAddr LimitAddress() const {
return static_cast<GPUVAddr>((static_cast<GPUVAddr>(limit_high) << 32) |
- limit_low);
+ limit_low) +
+ 1;
}
} vertex_array_limit[NumVertexArrays];