glsl: link bindless layout qualifiers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 21 Mar 2017 12:31:05 +0000 (13:31 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 6 May 2017 14:40:19 +0000 (16:40 +0200)
commitd550024a7ee2775b282acb761d81f1983ea15bcf
tree33a8d328464033707e05d8ca72b4b1173a0a6e34
parentd6810ea2867f95d737b63e391d19b8a281f4a381
glsl: link bindless layout qualifiers

From section 4.4.6 of the ARB_bindless_texture spec:

   "If both bindless_sampler and bound_sampler, or bindless_image
    and bound_image, are declared at global scope in any
    compilation unit, a link- time error will be generated."

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