diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-10-30 00:46:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-30 00:46:20 +0100 |
commit | ed2d77ddbc977c7b0fb2a19e29085f9afdfb4646 (patch) | |
tree | dc002298607a9be3f209009ce133450e248cbe34 /src/video_core | |
parent | Merge pull request #11866 from liamwhite/more-qt-nonsense (diff) | |
parent | renderer_vulkan: fix viewport swizzle dirty state tracking (diff) | |
download | yuzu-ed2d77ddbc977c7b0fb2a19e29085f9afdfb4646.tar yuzu-ed2d77ddbc977c7b0fb2a19e29085f9afdfb4646.tar.gz yuzu-ed2d77ddbc977c7b0fb2a19e29085f9afdfb4646.tar.bz2 yuzu-ed2d77ddbc977c7b0fb2a19e29085f9afdfb4646.tar.lz yuzu-ed2d77ddbc977c7b0fb2a19e29085f9afdfb4646.tar.xz yuzu-ed2d77ddbc977c7b0fb2a19e29085f9afdfb4646.tar.zst yuzu-ed2d77ddbc977c7b0fb2a19e29085f9afdfb4646.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_state_tracker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_state_tracker.cpp b/src/video_core/renderer_vulkan/vk_state_tracker.cpp index d56558a83..daaea2979 100644 --- a/src/video_core/renderer_vulkan/vk_state_tracker.cpp +++ b/src/video_core/renderer_vulkan/vk_state_tracker.cpp @@ -190,7 +190,7 @@ void SetupDirtySpecialOps(Tables& tables) { void SetupDirtyViewportSwizzles(Tables& tables) { static constexpr size_t swizzle_offset = 6; for (size_t index = 0; index < Regs::NumViewports; ++index) { - tables[0][OFF(viewport_transform) + index * NUM(viewport_transform[0]) + swizzle_offset] = + tables[1][OFF(viewport_transform) + index * NUM(viewport_transform[0]) + swizzle_offset] = ViewportSwizzles; } } |