nir: convert lower_samplers_as_deref to deref instructions
authorRob Clark <robdclark@gmail.com>
Thu, 5 Apr 2018 23:59:54 +0000 (19:59 -0400)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 23 Jun 2018 03:54:00 +0000 (20:54 -0700)
commita20929fed22e46c2f21e423ebbc557507e8e5e8c
tree22ad696474833710f76d768bb75c8545f090a2ad
parent0bc15340beaa06149875aa62bd8a5d5b82696d56
nir: convert lower_samplers_as_deref to deref instructions

This also removes the legacy version of lower_samplers.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Acked-by: Rob Clark <robdclark@gmail.com>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/gl_nir_lower_samplers_as_deref.c
src/mesa/state_tracker/st_glsl_to_nir.cpp