glsl: make count_attribute_slots() returns 1 for samplers/images
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 1 May 2017 20:24:52 +0000 (22:24 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 6 May 2017 14:40:19 +0000 (16:40 +0200)
commit33931e4062b1f1a2373405033e7db5575c98eae8
tree3f7430dbe0c3d907c9867406ce5322b53c3ef0f7
parent1f40343e9a2a7113d2ee406ceda267975b8e7c5b
glsl: make count_attribute_slots() returns 1 for samplers/images

For packed varyings.

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