gallium: add a sample0 only option to blitter.

Vulkan depth/stencil resolves can ask for just sample 0 instead
of averaging. Just add a flag to the state to allow it.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12504>
This commit is contained in:
Dave Airlie 2021-08-23 17:25:13 +10:00 committed by Marge Bot
parent a5786a2e71
commit 4d747c0c89

View file

@ -829,7 +829,7 @@ struct pipe_blit_info
unsigned mask; /**< bitmask of PIPE_MASK_R/G/B/A/Z/S */
unsigned filter; /**< PIPE_TEX_FILTER_* */
bool sample0_only;
bool scissor_enable;
struct pipe_scissor_state scissor;