summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-10-27 01:24:00 +0200
committerLiam <byteslice@airmail.cc>2023-10-27 20:23:47 +0200
commit21c631b33bd05fab0bb96dfb774b63048ff22e83 (patch)
tree9377e3d4913450d2364011e51411d706113e40d2 /src/video_core
parentMerge pull request #11880 from abouvier/unbundle-stb (diff)
downloadyuzu-21c631b33bd05fab0bb96dfb774b63048ff22e83.tar
yuzu-21c631b33bd05fab0bb96dfb774b63048ff22e83.tar.gz
yuzu-21c631b33bd05fab0bb96dfb774b63048ff22e83.tar.bz2
yuzu-21c631b33bd05fab0bb96dfb774b63048ff22e83.tar.lz
yuzu-21c631b33bd05fab0bb96dfb774b63048ff22e83.tar.xz
yuzu-21c631b33bd05fab0bb96dfb774b63048ff22e83.tar.zst
yuzu-21c631b33bd05fab0bb96dfb774b63048ff22e83.zip
Diffstat (limited to 'src/video_core')
-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;
}
}