nir/types: Add a utility wrapper to glsl_type::sampler_index()
authorEduardo Lima Mitev <elima@igalia.com>
Thu, 26 Oct 2017 09:05:30 +0000 (11:05 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 21 Jun 2018 12:25:05 +0000 (14:25 +0200)
commit3d6664763dbbaea12ed0c485863adfffd912df68
tree9658f5a6a5a46a06b7ebbef5bed47625a9f3e026
parentf1ab16cf179b605882c927a5be2f01daca703a47
nir/types: Add a utility wrapper to glsl_type::sampler_index()

I think it is more accurate to call it a sampler target (?).

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/nir_types.cpp
src/compiler/nir_types.h