From c9690b7471289489f346c73d3ecb8990adbc6e50 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 7 May 2020 11:25:01 +1000 Subject: [PATCH] llvmpipe: use per-sample position not sample id for interp 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 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)); -- 2.30.2