llvmpipe: hook up sample position system value
authorDave Airlie <airlied@redhat.com>
Fri, 20 Mar 2020 04:29:46 +0000 (14:29 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 May 2020 06:20:37 +0000 (06:20 +0000)
commit38e81938b65ebc32654f20a65fa8c3673c0c1cf6
tree228a535a00d29af1ea1cb5c7bea22c700ec8d6e3
parent210d714f46e72c954857ba32ca9ffcffbc264c9c
llvmpipe: hook up sample position system value

This creates a global static with the current sample positions,
and passes it to the fragment shader which uses it for interpolation
and sample position support.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>
src/gallium/drivers/llvmpipe/lp_state_fs.c