tgsi_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)
commitb8644349d1d5e05c74cd763f98ee1d8d2c10903d
tree80689134a6e601c3c28238b262c4d68eaa931d8c
parent1b7de2d6b857cd4f3dd45bbcdf135f70548b1935
tgsi_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/gallium/auxiliary/nir/tgsi_to_nir.c