glsl: reject compute shaders with fixed and variable local size
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 7 Sep 2016 19:37:53 +0000 (21:37 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 6 Oct 2016 22:18:57 +0000 (00:18 +0200)
commit008e785f742078e17221ebea727a5a5ea7ee95ff
tree539b46df3e70ec514dd62cd4752935bf99755af1
parentdd2bda70022d6d80aee47cea718bab43e5586fe8
glsl: reject compute shaders with fixed and variable local size

The ARB_compute_variable_group_size specification explains that
when a compute shader includes both a fixed and a variable local
size, a compile-time error occurs.

v2: - update formatting spec quotations (Ian)

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