st/mesa: decouple shaders from contexts if they are shareable
authorMarek Olšák <marek.olsak@amd.com>
Sun, 27 Sep 2015 21:36:59 +0000 (23:36 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 20 Oct 2015 10:51:51 +0000 (12:51 +0200)
commitf4e938e9aee14d42e2175c84ebe7ee32b0bcf8c5
treeec7c46f2678848312c90bc8e12608cc633f5f493
parentd74e7b6fb9dca5622c17413821d4cfcc67472e76
st/mesa: decouple shaders from contexts if they are shareable

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/state_tracker/st_atom_shader.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_context.h
src/mesa/state_tracker/st_program.c