Re: [Mesa-dev] [PATCH] radv: export SampleMask from pixel shaders at full rate

2017-12-14 Thread Samuel Pitoiset
On 12/13/2017 09:21 PM, Bas Nieuwenhuizen wrote: On Tue, Dec 12, 2017 at 6:08 PM, Samuel Pitoiset wrote: 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 --- src/amd/common/ac_nir_to_llvm.c | 65 ++

Re: [Mesa-dev] [PATCH] radv: export SampleMask from pixel shaders at full rate

2017-12-13 Thread Bas Nieuwenhuizen
On Tue, Dec 12, 2017 at 6:08 PM, Samuel Pitoiset wrote: > 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 > --- > src/amd/common/ac_nir_to_llvm.c | 65 > ++--- >

[Mesa-dev] [PATCH] radv: export SampleMask from pixel shaders at full rate

2017-12-12 Thread Samuel Pitoiset
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 --- src/amd/common/ac_nir_to_llvm.c | 65 ++--- src/amd/vulkan/radv_pipeline.c | 29 ++ 2 files changed, 7