radeonsi: make the GS copy shader owned by the GS selector
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 31 Oct 2016 20:10:37 +0000 (21:10 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 3 Nov 2016 09:07:50 +0000 (10:07 +0100)
commit3b2516721b91165936a25d1cfd88c65104ca04b1
tree39ef3f443c36a7a25e43dceaae97311b0211542d
parent9c6f7d66dc758300e46943ad07da8c3f5d394a03
radeonsi: make the GS copy shader owned by the GS selector

The copy shader only depends on the selector. This change avoids creating
separate code paths for monolithic vs. non-monolithic geometry shaders.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state_shaders.c