diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-21 04:54:39 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:56:43 +0100 |
commit | f9df2c6bcdc1a6129289fb2878d4471c04e55fc7 (patch) | |
tree | 17f1f65badeabc5a8d7a84d7fb8dca9b85daf6f8 /src/video_core/renderer_vulkan/vk_state_tracker.h | |
parent | vk_state_tracker: Implement dirty flags for blend constants (diff) | |
download | yuzu-f9df2c6bcdc1a6129289fb2878d4471c04e55fc7.tar yuzu-f9df2c6bcdc1a6129289fb2878d4471c04e55fc7.tar.gz yuzu-f9df2c6bcdc1a6129289fb2878d4471c04e55fc7.tar.bz2 yuzu-f9df2c6bcdc1a6129289fb2878d4471c04e55fc7.tar.lz yuzu-f9df2c6bcdc1a6129289fb2878d4471c04e55fc7.tar.xz yuzu-f9df2c6bcdc1a6129289fb2878d4471c04e55fc7.tar.zst yuzu-f9df2c6bcdc1a6129289fb2878d4471c04e55fc7.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 a0493813a..25b5c647b 100644 --- a/src/video_core/renderer_vulkan/vk_state_tracker.h +++ b/src/video_core/renderer_vulkan/vk_state_tracker.h @@ -23,6 +23,7 @@ enum : u8 { Scissors, DepthBias, BlendConstants, + DepthBounds, }; } // namespace Dirty @@ -51,6 +52,10 @@ public: return Exchange(Dirty::BlendConstants, false); } + bool TouchDepthBounds() { + return Exchange(Dirty::DepthBounds, false); + } + private: using Flags = std::remove_reference_t<decltype(Tegra::Engines::Maxwell3D::dirty.flags)>; |