diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-13 09:30:37 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-13 09:36:47 +0200 |
commit | cf6a40fc12a29dfbfaba0efb4465b26ef9ddf82d (patch) | |
tree | 7c6b276fe26132ca360c1c30ef7d3ea86e000409 /src/video_core/renderer_vulkan/vk_rasterizer.cpp | |
parent | Merge pull request #3816 from ReinUsesLisp/vk-rasterizer-enable (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 4 |
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()); } |