radeonsi: don't export ClipVertex and ClipDistance[] if clipping is disabled
authorMarek Olšák <marek.olsak@amd.com>
Sun, 13 Nov 2016 17:41:43 +0000 (18:41 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 21 Nov 2016 20:44:35 +0000 (21:44 +0100)
commited3190b3f3a776fc8c75b1e6130a88079166d115
treed91eb6553426550e1488f36445c83b143b7162f1
parentd984a324bf8702adde68c006f1c3454233871e1c
radeonsi: don't export ClipVertex and ClipDistance[] if clipping is disabled

This is the first user of optimized monolithic shader variants.

Cull distances can't be disabled by states.

Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state_shaders.c