From acba9a93ef23796b394b88d5352ec6ebdf14d123 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 21 Mar 2020 06:50:48 +1000 Subject: [PATCH] llvmpipe: pass mask store into interp for centroid interpolation This enables centroid interpolation to work, using the current coverage masks. Reviewed-by: Roland Scheidegger Part-of: --- 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 8c3fc05fa04..f09c49a1ff3 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -625,7 +625,7 @@ generate_fs_loop(struct gallivm_state *gallivm, } system_values.sample_pos = sample_pos_array; - lp_build_interp_soa_update_inputs_dyn(interp, gallivm, loop_state.counter, NULL, NULL); + lp_build_interp_soa_update_inputs_dyn(interp, gallivm, loop_state.counter, mask_store, NULL); struct lp_build_tgsi_params params; memset(¶ms, 0, sizeof(params)); -- 2.30.2