diff options
author | Samuel Pitoiset <[email protected]> | 2017-03-22 18:34:23 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-05-06 16:40:19 +0200 |
commit | ece1c04e8e552813040d603f72637291991465c4 (patch) | |
tree | e3ceaa426bfb923906fb0e69131e4ea65b54e33a /src/compiler/glsl/ast_array_index.cpp | |
parent | 8834c74fef4ab405397833e4499b622b6ce9c116 (diff) |
glsl: reject bindless samplers/images frag inputs without 'flat'
From section 4.3.4 of the ARB_bindless_texture spec
"(modify last paragraph, p. 35, allowing samplers and images as
fragment shader inputs) ... Fragment inputs can only be signed
and unsigned integers and integer vectors, floating point scalars,
floating-point vectors, matrices, sampler and image types, or
arrays or structures of these. Fragment shader inputs that are
signed or unsigned integers, integer vectors, or any
double-precision floating- point type, or any sampler or image
type must be qualified with the interpolation qualifier "flat"."
v3: - update spec comment formatting
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ast_array_index.cpp')
0 files changed, 0 insertions, 0 deletions