llvmpipe: add get_sample_position support (v2)
authorDave Airlie <airlied@redhat.com>
Tue, 10 Mar 2020 03:04:01 +0000 (13:04 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 May 2020 06:20:37 +0000 (06:20 +0000)
commit0a6150251a1ea2545826036aad9c198a61ce815a
tree0fac949244975c4ab79d243bdd51e52cb972cc79
parentf6383673c96de2102edae0e705f7960753fe848b
llvmpipe: add get_sample_position support (v2)

This just adds the sample values for 4xmsaa, and hooks them
up to the get_sample_position API

v2: move to vulkan standard sample positions

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