From: Dave Airlie Date: Thu, 7 May 2020 01:25:01 +0000 (+1000) Subject: llvmpipe: use per-sample position not sample id for interp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c9690b7471289489f346c73d3ecb8990adbc6e50;p=mesa.git llvmpipe: use per-sample position not sample id for interp 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 9a6510a8b2c..74dca711634 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -653,7 +653,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, mask_store, system_values.sample_id); + lp_build_interp_soa_update_inputs_dyn(interp, gallivm, loop_state.counter, mask_store, sample_loop_state.counter); struct lp_build_tgsi_params params; memset(¶ms, 0, sizeof(params));