diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-21 04:28:45 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:56:43 +0100 |
commit | a33870996b00f18179048debf183f1cb5c499593 (patch) | |
tree | 3e8a09ed40a4713086b15117b3022965923a51fb /src/video_core/renderer_vulkan/vk_state_tracker.h | |
parent | vk_state_tracker: Implement dirty flags for scissors (diff) | |
download | yuzu-a33870996b00f18179048debf183f1cb5c499593.tar yuzu-a33870996b00f18179048debf183f1cb5c499593.tar.gz yuzu-a33870996b00f18179048debf183f1cb5c499593.tar.bz2 yuzu-a33870996b00f18179048debf183f1cb5c499593.tar.lz yuzu-a33870996b00f18179048debf183f1cb5c499593.tar.xz yuzu-a33870996b00f18179048debf183f1cb5c499593.tar.zst yuzu-a33870996b00f18179048debf183f1cb5c499593.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 ba8f3a854..088b47145 100644 --- a/src/video_core/renderer_vulkan/vk_state_tracker.h +++ b/src/video_core/renderer_vulkan/vk_state_tracker.h @@ -21,6 +21,7 @@ enum : u8 { Viewports, Scissors, + DepthBias, }; } // namespace Dirty @@ -41,6 +42,10 @@ public: return Exchange(Dirty::Scissors, false); } + bool TouchDepthBias() { + return Exchange(Dirty::DepthBias, false); + } + private: using Flags = std::remove_reference_t<decltype(Tegra::Engines::Maxwell3D::dirty.flags)>; |