diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-21 04:37:29 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:56:43 +0100 |
commit | cd0e28c9ecb2ecd4579ad9abb8899255f60334da (patch) | |
tree | 1e8182da026f075b66b5047d1bb89076e3e317b2 /src/video_core/renderer_vulkan/vk_state_tracker.h | |
parent | vk_state_tracker: Implement dirty flags for depth bias (diff) | |
download | yuzu-cd0e28c9ecb2ecd4579ad9abb8899255f60334da.tar yuzu-cd0e28c9ecb2ecd4579ad9abb8899255f60334da.tar.gz yuzu-cd0e28c9ecb2ecd4579ad9abb8899255f60334da.tar.bz2 yuzu-cd0e28c9ecb2ecd4579ad9abb8899255f60334da.tar.lz yuzu-cd0e28c9ecb2ecd4579ad9abb8899255f60334da.tar.xz yuzu-cd0e28c9ecb2ecd4579ad9abb8899255f60334da.tar.zst yuzu-cd0e28c9ecb2ecd4579ad9abb8899255f60334da.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 088b47145..a0493813a 100644 --- a/src/video_core/renderer_vulkan/vk_state_tracker.h +++ b/src/video_core/renderer_vulkan/vk_state_tracker.h @@ -22,6 +22,7 @@ enum : u8 { Viewports, Scissors, DepthBias, + BlendConstants, }; } // namespace Dirty @@ -46,6 +47,10 @@ public: return Exchange(Dirty::DepthBias, false); } + bool TouchBlendConstants() { + return Exchange(Dirty::BlendConstants, false); + } + private: using Flags = std::remove_reference_t<decltype(Tegra::Engines::Maxwell3D::dirty.flags)>; |