radeonsi: export SampleMask from pixel shaders at full rate
authorMarek Olšák <marek.olsak@amd.com>
Fri, 9 Sep 2016 23:21:11 +0000 (01:21 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 13 Sep 2016 18:38:25 +0000 (20:38 +0200)
commit275c073c6a49eacac85c21dc618d3c577f4d0495
treee86b42bece49ba91dfc45e3f0c738781d08dcd80
parentb89854b0c7927817293aaec196c41b991cbcf377
radeonsi: export SampleMask from pixel shaders at full rate

Heaven and Valley write gl_SampleMask and not Z.
Use 16_ABGR instead of 32_ABGR if Z isn't written.

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