diff options
author | Jason Ekstrand <jason.ekstrand@collabora.com> | 2022-07-07 12:09:16 -0500 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-07-19 19:19:34 +0000 |
commit | 9066cc86bb1ed5dd187f5be169f3135e9056ab5e (patch) | |
tree | 5ee1d88386e7bf37106c4d068b536c79e8c7733b /docs/vulkan | |
parent | 4ad149a8fc7974d9a6633557337ec2a866303072 (diff) | |
download | mesa-9066cc86bb1ed5dd187f5be169f3135e9056ab5e.tar.gz |
vulkan: Copy the depth/stencil state optimization code from ANV
Instead of having stencil writes as an out parameter of the optimization
function, we add a new write_enable field for stencil that's equivalent
to the similarly named field for depth. This doesn't mean drivers must
actually support disabling stencil writes independently but the
information may be helpful on some hardware.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17328>
Diffstat (limited to 'docs/vulkan')
-rw-r--r-- | docs/vulkan/graphics-state.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/vulkan/graphics-state.rst b/docs/vulkan/graphics-state.rst index 5f88fa24790..a188f56a2d7 100644 --- a/docs/vulkan/graphics-state.rst +++ b/docs/vulkan/graphics-state.rst @@ -180,6 +180,12 @@ use a state even if it isn't dirty on this particular draw. .. doxygenfunction:: vk_dynamic_graphics_state_any_dirty +Depth stencil state optimization +-------------------------------- + +.. doxygenfunction:: vk_optimize_depth_stencil_state + + Reference --------- |