diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-07-20 19:36:38 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-16 22:11:27 +0100 |
commit | 778700ff9d6eca96945deebcd4415e70d58330d9 (patch) | |
tree | 413adfbca91e85dd3bdcae718786d2ceba549f81 /src/video_core/renderer_vulkan/vk_state_tracker.h | |
parent | Settings: eliminate rescaling_factor. (diff) | |
download | yuzu-778700ff9d6eca96945deebcd4415e70d58330d9.tar yuzu-778700ff9d6eca96945deebcd4415e70d58330d9.tar.gz yuzu-778700ff9d6eca96945deebcd4415e70d58330d9.tar.bz2 yuzu-778700ff9d6eca96945deebcd4415e70d58330d9.tar.lz yuzu-778700ff9d6eca96945deebcd4415e70d58330d9.tar.xz yuzu-778700ff9d6eca96945deebcd4415e70d58330d9.tar.zst yuzu-778700ff9d6eca96945deebcd4415e70d58330d9.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_state_tracker.h')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_state_tracker.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_state_tracker.h b/src/video_core/renderer_vulkan/vk_state_tracker.h index 2f2d6b31f..ac2bbebe0 100644 --- a/src/video_core/renderer_vulkan/vk_state_tracker.h +++ b/src/video_core/renderer_vulkan/vk_state_tracker.h @@ -71,11 +71,13 @@ public: } bool TouchViewports() { - return Exchange(Dirty::Viewports, false); + return Exchange(Dirty::Viewports, false) || + Exchange(VideoCommon::Dirty::RescaleViewports, false); } bool TouchScissors() { - return Exchange(Dirty::Scissors, false); + return Exchange(Dirty::Scissors, false) || + Exchange(VideoCommon::Dirty::RescaleScissors, false); } bool TouchDepthBias() { |