radeonsi: split the shader key into 3 logical parts
authorMarek Olšák <marek.olsak@amd.com>
Sun, 13 Nov 2016 02:17:46 +0000 (03:17 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 21 Nov 2016 20:44:35 +0000 (21:44 +0100)
commit6d5c2a8b5c33122682d801f9b14a70e3d3d9a5cc
treefc10ce2274189664c857777c893be3c1cc3d077d
parentd4e9f409e93391fb56b12e6933123198df7ac4bc
radeonsi: split the shader key into 3 logical parts

key->part.*: prolog and epilog flags only
key->as_{ls,es}: special flags
key->mono.*: flags for monolithic compilation only

Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@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.c
src/gallium/drivers/radeonsi/si_state_shaders.c