summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-10-30 00:46:20 +0100
committerGitHub <noreply@github.com>2023-10-30 00:46:20 +0100
commited2d77ddbc977c7b0fb2a19e29085f9afdfb4646 (patch)
treedc002298607a9be3f209009ce133450e248cbe34 /src
parentMerge pull request #11866 from liamwhite/more-qt-nonsense (diff)
parentrenderer_vulkan: fix viewport swizzle dirty state tracking (diff)
downloadyuzu-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')
-rw-r--r--src/video_core/renderer_vulkan/vk_state_tracker.cpp2
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;
}
}