summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-05-13 09:30:37 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-05-13 09:36:47 +0200
commitcf6a40fc12a29dfbfaba0efb4465b26ef9ddf82d (patch)
tree7c6b276fe26132ca360c1c30ef7d3ea86e000409 /src/video_core/renderer_vulkan
parentMerge pull request #3816 from ReinUsesLisp/vk-rasterizer-enable (diff)
downloadyuzu-cf6a40fc12a29dfbfaba0efb4465b26ef9ddf82d.tar
yuzu-cf6a40fc12a29dfbfaba0efb4465b26ef9ddf82d.tar.gz
yuzu-cf6a40fc12a29dfbfaba0efb4465b26ef9ddf82d.tar.bz2
yuzu-cf6a40fc12a29dfbfaba0efb4465b26ef9ddf82d.tar.lz
yuzu-cf6a40fc12a29dfbfaba0efb4465b26ef9ddf82d.tar.xz
yuzu-cf6a40fc12a29dfbfaba0efb4465b26ef9ddf82d.tar.zst
yuzu-cf6a40fc12a29dfbfaba0efb4465b26ef9ddf82d.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
index 8b009fc22..5af2a0d25 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
@@ -879,10 +879,6 @@ void RasterizerVulkan::SetupVertexArrays(FixedPipelineState::VertexInput& vertex
vertex_input.SetAttribute(index, false, 0, 0, {}, {});
continue;
}
-
- [[maybe_unused]] const auto& buffer = regs.vertex_array[attrib.buffer];
- ASSERT(buffer.IsEnabled());
-
vertex_input.SetAttribute(index, true, attrib.buffer, attrib.offset, attrib.type.Value(),
attrib.size.Value());
}