From 4d747c0c894e971625aa017a9bb2dec75290076d Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 23 Aug 2021 17:25:13 +1000 Subject: [PATCH] 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 Part-of: --- src/gallium/include/pipe/p_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index b210fd70813..785a5906237 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -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;