glsl: fix uniform location count used for glsl types
authorTapani Pälli <tapani.palli@intel.com>
Wed, 27 Aug 2014 11:12:27 +0000 (14:12 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 26 Sep 2014 05:29:10 +0000 (08:29 +0300)
commit1cb81d3a9b65781802f641fb3e4435edfed7f14a
tree764b5bd5fc0571bf51fc8f186155c9eff8f356f6
parenta5bbfeda977a62aa3349f0c7d04c5c20156c1faf
glsl: fix uniform location count used for glsl types

Patch fixes the slot count used by vector types and adds 1 slot
to be used by image and sampler types.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82921
src/glsl/glsl_types.cpp
src/glsl/glsl_types.h