st/mesa: add intrinsics for shared variables
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 16 Jan 2016 22:15:42 +0000 (23:15 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 13 Feb 2016 15:01:00 +0000 (16:01 +0100)
commitdfa58f0ff08c97f7f13775726c1fedda223aacc6
treef98fa7ae91df9323618b7f5406c84021515ac32c
parent44e04dc809659323ae0b5e32b97fcfccc5db66f1
st/mesa: add intrinsics for shared variables

This adds GLSL intrinsics for load/store and atomic operations.

Changes from v2:
 - use PROGRAM_MEMORY instead of PROGRAM_BUFFER

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/state_tracker/st_extensions.c
src/mesa/state_tracker/st_glsl_to_tgsi.cpp