glsl: allow bindless samplers/images as vertex shader inputs
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 20 Mar 2017 20:37:03 +0000 (21:37 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 6 May 2017 14:40:19 +0000 (16:40 +0200)
commit8834c74fef4ab405397833e4499b622b6ce9c116
tree606ddc227aa930c6e76486c51f86fd841b60a2bf
parent015c0b4a341431e75a98d93b813f7cdf404c3eaf
glsl: allow bindless samplers/images as vertex shader inputs

From section 4.3.4 of the ARB_bindless_texture spec:

   "(modify third paragraph of the section to allow sampler and
    image types) ...  Vertex shader inputs can only be float,
    single-precision floating-point scalars, single-precision
    floating-point vectors, matrices, signed and unsigned integers
    and integer vectors, sampler and image types."

v3: - update spec comment formatting

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/ast_to_hir.cpp