diff options
author | Liam <byteslice@airmail.cc> | 2023-10-27 01:24:00 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-10-27 20:23:47 +0200 |
commit | 21c631b33bd05fab0bb96dfb774b63048ff22e83 (patch) | |
tree | 9377e3d4913450d2364011e51411d706113e40d2 /src/video_core | |
parent | Merge pull request #11880 from abouvier/unbundle-stb (diff) | |
download | yuzu-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.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; } } |