mesa: fix active sampler conflict validation
authorTimothy Arceri <t_arceri@yahoo.com.au>
Wed, 17 Jun 2015 13:03:52 +0000 (23:03 +1000)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Wed, 22 Jul 2015 02:58:40 +0000 (12:58 +1000)
commit13322a6590b9e64a9a9f8dd304898e9ab6bedd49
treec45f0c6c8603ff4b75b6c9fede49bc5b7e4a8546
parent09c440c718992d48ef118c1aad6929ad215ccd3b
mesa: fix active sampler conflict validation

The type stored in gl_uniform_storage is the type of a single array
element not the array type so size was always 1.

V2: Dont validate sampler units pointing to 0

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/mesa/main/uniform_query.cpp