Mesa (master): llvmpipe: use per-sample position not sample id for interp

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue May 19 00:45:21 UTC 2020


Module: Mesa
Branch: master
Commit: c9690b7471289489f346c73d3ecb8990adbc6e50
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9690b7471289489f346c73d3ecb8990adbc6e50

Author: Dave Airlie <airlied at redhat.com>
Date:   Thu May  7 11:25:01 2020 +1000

llvmpipe: use per-sample position not sample id for interp

Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5050>

---

 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(&params, 0, sizeof(params));



More information about the mesa-commit mailing list