summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-04-26 06:55:43 +0200
committerGitHub <noreply@github.com>2020-04-26 06:55:43 +0200
commit7e38dd580f72323985d9331b43bad5ace38e56eb (patch)
tree11032b9ea3fa1e198f68afc3186e119be390ce56 /src/video_core/engines
parentMerge pull request #3791 from Kewlan/hotkey-config-plus (diff)
parentvk_rasterizer: Add lazy default buffer maker and use it for empty buffers (diff)
downloadyuzu-7e38dd580f72323985d9331b43bad5ace38e56eb.tar
yuzu-7e38dd580f72323985d9331b43bad5ace38e56eb.tar.gz
yuzu-7e38dd580f72323985d9331b43bad5ace38e56eb.tar.bz2
yuzu-7e38dd580f72323985d9331b43bad5ace38e56eb.tar.lz
yuzu-7e38dd580f72323985d9331b43bad5ace38e56eb.tar.xz
yuzu-7e38dd580f72323985d9331b43bad5ace38e56eb.tar.zst
yuzu-7e38dd580f72323985d9331b43bad5ace38e56eb.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];