glsl: set the explicit binding value for bindless samplers/images
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 11 May 2017 15:37:27 +0000 (17:37 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 14 Jun 2017 08:04:36 +0000 (10:04 +0200)
commit31154f097519af5143dfb3ffe67b9fe731f81b6e
treecb7fbe76cf83dafc0ae41731d74600969117ca13
parente3c6fba5d69a6695d7bc431440fa1f9276e82b10
glsl: set the explicit binding value for bindless samplers/images

This handles a situation like:

layout (bindless_sampler, binding = 7) uniform sampler2D;

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