Module: Mesa Branch: main Commit: 644f059a8d3249ee420650e03ad4735bc44306a9 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=644f059a8d3249ee420650e03ad4735bc44306a9
Author: Mike Blumenkrantz <[email protected]> Date: Tue Jul 19 09:28:38 2022 -0400 llvmpipe: ignore multisample state for alpha_to_one this is more accurate and fixes usage with lavapipe cc: mesa-stable Reviewed-by: Emma Anholt <[email protected]> Reviewed-by: Erik Faye-Lund <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17627> --- src/gallium/drivers/llvmpipe/lp_state_fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index 707f133280b..c9b6ad047ed 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -1082,7 +1082,7 @@ generate_fs_loop(struct gallivm_state *gallivm, } } - if (key->blend.alpha_to_one && key->multisample) { + if (key->blend.alpha_to_one) { for (unsigned attrib = 0; attrib < shader->info.base.num_outputs; ++attrib) { unsigned cbuf = shader->info.base.output_semantic_index[attrib]; if ((shader->info.base.output_semantic_name[attrib] == TGSI_SEMANTIC_COLOR) &&
