diff options
author | bunnei <bunneidev@gmail.com> | 2022-08-04 18:51:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 18:51:56 +0200 |
commit | 1f7e62e86ef8d370834c1c2f8c0c0430d2a89712 (patch) | |
tree | 1a05d2f6572e8e39eab775c6d222d5b782ca5c71 /src/video_core/renderer_vulkan/vk_rasterizer.cpp | |
parent | Merge pull request #8681 from Docteh/test (diff) | |
parent | renderer_vulkan: add format fallbacks for R16G16B16_SFLOAT, R16G16B16_SSCALED, R8G8B8_SSCALED (diff) | |
download | yuzu-1f7e62e86ef8d370834c1c2f8c0c0430d2a89712.tar yuzu-1f7e62e86ef8d370834c1c2f8c0c0430d2a89712.tar.gz yuzu-1f7e62e86ef8d370834c1c2f8c0c0430d2a89712.tar.bz2 yuzu-1f7e62e86ef8d370834c1c2f8c0c0430d2a89712.tar.lz yuzu-1f7e62e86ef8d370834c1c2f8c0c0430d2a89712.tar.xz yuzu-1f7e62e86ef8d370834c1c2f8c0c0430d2a89712.tar.zst yuzu-1f7e62e86ef8d370834c1c2f8c0c0430d2a89712.zip |
Diffstat (limited to '')
-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 10f9fe7fe..16e46d3e5 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -939,7 +939,7 @@ void RasterizerVulkan::UpdateVertexInput(Tegra::Engines::Maxwell3D::Regs& regs) .pNext = nullptr, .location = static_cast<u32>(index), .binding = binding, - .format = MaxwellToVK::VertexFormat(attribute.type, attribute.size), + .format = MaxwellToVK::VertexFormat(device, attribute.type, attribute.size), .offset = attribute.offset, }); } |