aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-04-26 01:55:43 -0300
committerGitHub <noreply@github.com>2020-04-26 01:55:43 -0300
commit7e38dd580f72323985d9331b43bad5ace38e56eb (patch)
tree11032b9ea3fa1e198f68afc3186e119be390ce56 /src/video_core/engines
parent9bd70c52e58443902d147b00c1ca4af2962f5b63 (diff)
parent488ed8bd02c8014cf9c70aff76371a77ad36765c (diff)
Merge pull request #3753 from ReinUsesLisp/ac-vulkan
{gl,vk}_rasterizer: Add lazy default buffer maker and use it for empty buffers
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];