nir/lower_samplers: Clean up function arguments
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Mar 2018 16:32:24 +0000 (09:32 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 23 Jun 2018 03:54:00 +0000 (20:54 -0700)
commit36efae1d6647a0495fc368bda9e6d2c14b81f482
treea0cd77e2a3d8bc35404122888f8205c63339cfdf
parenta6ebbbc594b1cac4b880d9da051bad9d70eeb2d8
nir/lower_samplers: Clean up function arguments

This little refactor makes us stop passing stage around and puts the
builder as the first parameter to some functions.

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.c