summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_state_fs.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2022-09-29 08:17:35 +1000
committerMarge Bot <emma+marge@anholt.net>2022-09-30 01:22:42 +0000
commite28db68e53c3e265df5dd66c5b6bfe7cfb762f2a (patch)
tree5f11c97ecef5b090ef6fc4095e471240787107af /src/gallium/drivers/llvmpipe/lp_state_fs.c
parentff02d042aabd9567e35cf289830bbfd552eaff05 (diff)
llvmpipe/fs: add sample position type to the interp interface
Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Mihai Preda <mhpreda@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18876>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_fs.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_fs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index 1aef483fd64..7e554662bdd 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_fs.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c
@@ -3319,7 +3319,9 @@ generate_fragment(struct llvmpipe_context *lp,
shader->info.base.num_inputs,
inputs,
pixel_center_integer,
- key->coverage_samples, glob_sample_pos,
+ key->coverage_samples,
+ LLVMTypeOf(sample_pos_array),
+ glob_sample_pos,
num_loop,
builder, fs_type,
a0_ptr, dadx_ptr, dady_ptr,