st/nir: Pull sampler lowering into a helper function.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 6 Feb 2019 08:03:49 +0000 (00:03 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 12 Feb 2019 05:34:35 +0000 (21:34 -0800)
commit8d1646e0e1d926052a883590ba6bb185c963db55
tree2821d785a96c16706d0f709fd2da439f867439bf
parent243c11dc1687b1f3adf0c96dd174803885704c48
st/nir: Pull sampler lowering into a helper function.

This will make it easier to reuse across GLSL / ARB / built-ins.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/state_tracker/st_glsl_to_nir.cpp
src/mesa/state_tracker/st_nir.h