nir: add image and sampler type to glsl_get_bit_size()
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 19 Jan 2018 04:09:51 +0000 (15:09 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 22 Jan 2018 22:44:37 +0000 (09:44 +1100)
commit549ccbb4356730e096602048f53dea24220ff1d5
tree85bd830024a677a5183cac1e1c3d458547e3c866
parent324d2fe6a754e84df79db75cdbc3a8c4c32a7279
nir: add image and sampler type to glsl_get_bit_size()

These are needed for ARB_bindless_texture support.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/nir_types.h