glsl: allow glsl_type::sampler_index() with images
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 29 Mar 2017 22:33:15 +0000 (00:33 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 30 Mar 2017 11:15:16 +0000 (13:15 +0200)
commit784d3a70669e57a469614ff4c60339f770a5152a
tree500436f4ba91b1ae2ce76218216935082b1ddb07
parent257ee3f7ef21dfbd65a3dac423a986b926ca0d18
glsl: allow glsl_type::sampler_index() with images

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl_types.cpp