From a6e9061880e1c1db34344f1d7c24d98e30ddef4e Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Mon, 23 Jun 2025 23:27:47 +0200 Subject: [PATCH] etnaviv: drop obsolete question about alpha/stencil test interaction There's a few things that will prevent enabling the more efficient PE_COLOR_FORMAT_OVERWRITE mode, but pixel dicard due to alpha or stencil testing isn't one of those conditions, as this behaves the same way as pixel discard due to a failed depth test. Signed-off-by: Lucas Stach Reviewed-by: Christian Gmeiner Part-of: --- src/gallium/drivers/etnaviv/etnaviv_zsa.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/etnaviv/etnaviv_zsa.c b/src/gallium/drivers/etnaviv/etnaviv_zsa.c index 0992f01d588..2d3c99f1541 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_zsa.c +++ b/src/gallium/drivers/etnaviv/etnaviv_zsa.c @@ -120,6 +120,5 @@ etna_zsa_state_create(struct pipe_context *pctx, VIVS_PE_STENCIL_CONFIG_EXT2_WRITE_MASK_BACK(stencil_back->writemask); } - /* XXX does alpha/stencil test affect PE_COLOR_FORMAT_OVERWRITE? */ return cs; }