mesa: fix setting uniform variables for bindless samplers/images
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 29 May 2017 20:47:24 +0000 (22:47 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 14 Jun 2017 08:04:36 +0000 (10:04 +0200)
commit990c8d15ac3de8623940b32b662ef956703cc6bc
tree412da93fe93bf2fcccc181eb41b678e3c97d5369
parentfe9f7095e826aa8702f724e7445ff8dc539cfd7d
mesa: fix setting uniform variables for bindless samplers/images

This fixes a 64-bit vs 32-bit mismatch when setting an array
of bindless samplers. Also, we need to unconditionally set
size_mul to 2 when the underlying uniform is bindless.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/uniform_query.cpp