prog_to_nir: Reuse glsl_get_sampler_dim_coordinate_components().
authorEric Anholt <eric@anholt.net>
Wed, 5 Feb 2020 22:45:33 +0000 (14:45 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 Feb 2020 18:25:02 +0000 (18:25 +0000)
commit8aa54e6ed0ba8db984541271404add6e496ed491
tree580bf4193c332b498b02f6724107cad23f49c39e
parentb8644349d1d5e05c74cd763f98ee1d8d2c10903d
prog_to_nir: Reuse glsl_get_sampler_dim_coordinate_components().

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3728>
src/mesa/program/prog_to_nir.c