radeonsi: add reference counting for shader selectors
authorMarek Olšák <marek.olsak@amd.com>
Thu, 20 Apr 2017 11:04:02 +0000 (13:04 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 28 Apr 2017 19:47:35 +0000 (21:47 +0200)
commitef409378548bba05d2bc441c003a4d1cc3a2991b
tree7b6b46eecc17634f690d2ac497c2bee92977dd9e
parent6c15e15af49408399501e950b0c75f39c0d3af58
radeonsi: add reference counting for shader selectors

The 2nd shader of merged shaders should take a reference of the 1st shader.
The next commit will do that.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state_shaders.c