glsl: Add shared variable type
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 28 Jul 2015 21:56:49 +0000 (14:56 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 10 Nov 2015 01:21:24 +0000 (17:21 -0800)
commit32746fc9b49db5eccdc228e12cbce4734f1020f9
tree8205c0427d48cc2d99e4738705179da2070cf671
parentc0ac4740a75f0701637df1ea82c450bb8c31a63a
glsl: Add shared variable type

Shared variables are stored in a common pool accessible by all threads
in a compute shader local work group.

These variables are similar to OpenCL's local/__local variables.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/glsl/ir.h
src/glsl/ir_print_visitor.cpp