radeonsi: determine DB_SHADER_CONTROL outside of shader compilation
authorMarek Olšák <marek.olsak@amd.com>
Wed, 23 Dec 2015 14:36:05 +0000 (15:36 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 7 Jan 2016 17:26:05 +0000 (18:26 +0100)
commit2cb8bf90cd21cdeba708ed4ee875a9e4ada128ae
tree5469839de32045f428ca529e86d7976dbd132e3c
parentff7e77724e0cf1409f84118d0d4ceee65535ccdb
radeonsi: determine DB_SHADER_CONTROL outside of shader compilation

because the API pixel shader binary will not emulate alpha test one day,
so the KILL_ENABLE bit must be determined elsewhere.

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_shaders.c