diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-21 02:19:57 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:56:43 +0100 |
commit | 42f18749658bb4f3ce2e6be7677596d41ac8cd6c (patch) | |
tree | 6bfc16e7f768e1d0d2462104bf61bb8e52278ea4 /src/video_core/renderer_vulkan/vk_state_tracker.h | |
parent | vk_state_tracker: Initial implementation (diff) | |
download | yuzu-42f18749658bb4f3ce2e6be7677596d41ac8cd6c.tar yuzu-42f18749658bb4f3ce2e6be7677596d41ac8cd6c.tar.gz yuzu-42f18749658bb4f3ce2e6be7677596d41ac8cd6c.tar.bz2 yuzu-42f18749658bb4f3ce2e6be7677596d41ac8cd6c.tar.lz yuzu-42f18749658bb4f3ce2e6be7677596d41ac8cd6c.tar.xz yuzu-42f18749658bb4f3ce2e6be7677596d41ac8cd6c.tar.zst yuzu-42f18749658bb4f3ce2e6be7677596d41ac8cd6c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_state_tracker.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_state_tracker.h b/src/video_core/renderer_vulkan/vk_state_tracker.h index 9ec7b5136..ba8f3a854 100644 --- a/src/video_core/renderer_vulkan/vk_state_tracker.h +++ b/src/video_core/renderer_vulkan/vk_state_tracker.h @@ -20,6 +20,7 @@ enum : u8 { First = VideoCommon::Dirty::LastCommonEntry, Viewports, + Scissors, }; } // namespace Dirty @@ -36,6 +37,10 @@ public: return Exchange(Dirty::Viewports, false); } + bool TouchScissors() { + return Exchange(Dirty::Scissors, false); + } + private: using Flags = std::remove_reference_t<decltype(Tegra::Engines::Maxwell3D::dirty.flags)>; |