vc4: Enable sharing shaders across contexts.
authorEric Anholt <eric@anholt.net>
Tue, 17 May 2016 19:24:06 +0000 (12:24 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 18 May 2016 01:07:39 +0000 (18:07 -0700)
commit8835eb689b51593dcbe09f39a79af9e551c3e0b4
tree9a801ccc17cc9aa417ed60ad33510773eab1042c
parent62087cb9b80c271139370a242841def40cfdabae
vc4: Enable sharing shaders across contexts.

This allows the same pipe_shader_state to be referenced from multiple
contexts.  Since our pipe_shader_state is treated as immutable (other than
the variant number) within the driver, this is no problem.
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_screen.c