radv: export SampleMask from pixel shaders at full rate
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Dec 2017 12:51:47 +0000 (13:51 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Dec 2017 21:23:28 +0000 (22:23 +0100)
commit88522e2bcd0e65ca619204f0eec96864323b94cb
treedcd0fcf97122301e42c0ca0ff08e251e72fd1f1b
parent45872a0a6d99d3f7704d9539f215eb0004c1e576
radv: export SampleMask from pixel shaders at full rate

Use 16_ABGR instead of 32_ABGR if Z isn't written.

Ported from RadeonSI.

No CTS regressions on Polaris.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c
src/amd/vulkan/radv_pipeline.c