diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-15 08:04:17 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-15 08:04:17 +0100 |
commit | a7131af7d6714b9ad3851e76c80c6c5ca4f696cf (patch) | |
tree | dc1345ff6018006a311f6a8b5672716a91dfc99f | |
parent | Merge pull request #3508 from FernandoS27/page-table (diff) | |
download | yuzu-a7131af7d6714b9ad3851e76c80c6c5ca4f696cf.tar yuzu-a7131af7d6714b9ad3851e76c80c6c5ca4f696cf.tar.gz yuzu-a7131af7d6714b9ad3851e76c80c6c5ca4f696cf.tar.bz2 yuzu-a7131af7d6714b9ad3851e76c80c6c5ca4f696cf.tar.lz yuzu-a7131af7d6714b9ad3851e76c80c6c5ca4f696cf.tar.xz yuzu-a7131af7d6714b9ad3851e76c80c6c5ca4f696cf.tar.zst yuzu-a7131af7d6714b9ad3851e76c80c6c5ca4f696cf.zip |
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp index f889019c1..c9886cc16 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -1151,7 +1151,7 @@ std::size_t RasterizerVulkan::CalculateVertexArraysSize() const { // This implementation assumes that all attributes are used in the shader. const GPUVAddr start{regs.vertex_array[index].StartAddress()}; const GPUVAddr end{regs.vertex_array_limit[index].LimitAddress()}; - DEBUG_ASSERT(end > start); + DEBUG_ASSERT(end >= start); size += (end - start + 1) * regs.vertex_array[index].enable; } |