From: Dave Airlie Date: Fri, 20 Mar 2020 20:50:48 +0000 (+1000) Subject: llvmpipe: pass mask store into interp for centroid interpolation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=acba9a93ef23796b394b88d5352ec6ebdf14d123;p=mesa.git 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: --- 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));