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

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5050>
This commit is contained in:
Dave Airlie
2020-05-07 11:25:01 +10:00
parent 5098764483
commit c9690b7471
+1 -1
View File
@@ -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));