diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-21 05:09:02 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:56:43 +0100 |
commit | 6ac3eb4d87af7793d805dc9f7fc43f45e59e212e (patch) | |
tree | ce8f97c30593e199a9150b464fc82ac0200d2989 /src/video_core/renderer_vulkan/vk_state_tracker.h | |
parent | vk_state_tracker: Implement dirty flags for depth bounds (diff) | |
download | yuzu-6ac3eb4d87af7793d805dc9f7fc43f45e59e212e.tar yuzu-6ac3eb4d87af7793d805dc9f7fc43f45e59e212e.tar.gz yuzu-6ac3eb4d87af7793d805dc9f7fc43f45e59e212e.tar.bz2 yuzu-6ac3eb4d87af7793d805dc9f7fc43f45e59e212e.tar.lz yuzu-6ac3eb4d87af7793d805dc9f7fc43f45e59e212e.tar.xz yuzu-6ac3eb4d87af7793d805dc9f7fc43f45e59e212e.tar.zst yuzu-6ac3eb4d87af7793d805dc9f7fc43f45e59e212e.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 25b5c647b..1d8434dd0 100644 --- a/src/video_core/renderer_vulkan/vk_state_tracker.h +++ b/src/video_core/renderer_vulkan/vk_state_tracker.h @@ -24,6 +24,7 @@ enum : u8 { DepthBias, BlendConstants, DepthBounds, + StencilProperties, }; } // namespace Dirty @@ -56,6 +57,10 @@ public: return Exchange(Dirty::DepthBounds, false); } + bool TouchStencilProperties() { + return Exchange(Dirty::StencilProperties, false); + } + private: using Flags = std::remove_reference_t<decltype(Tegra::Engines::Maxwell3D::dirty.flags)>; |