gallivm: add support for rgtc/latc fetches.
authorDave Airlie <airlied@redhat.com>
Wed, 19 Feb 2020 02:40:50 +0000 (12:40 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 23 Mar 2020 01:02:03 +0000 (11:02 +1000)
commit9e3efa429442ef4529843b9e7267d0d117ffa15b
tree6bd6e732acd94bd6e81c60dbc0c10e4da8ca76b5
parentb3894e52c2f82112659725944117a59b37cbaa53
gallivm: add support for rgtc/latc fetches.

Annoyingly heaven uses rgtc2 snorm but this at least avoids
the function call overheads to the util fetch functions.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3924>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3924>
src/gallium/auxiliary/gallivm/lp_bld_format.h
src/gallium/auxiliary/gallivm/lp_bld_format_aos.c
src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c