radv: always export gl_SampleMask when the fragment shader uses it
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 12 Feb 2019 08:50:15 +0000 (09:50 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 13 Feb 2019 22:01:30 +0000 (23:01 +0100)
commit334da034d8d91ca5a0a1bff8deaefd8ca762c42e
treecacc0d273feab287707c8cc26ec541527c5a5432
parent736241892fd80efb700f38321b917166750a63da
radv: always export gl_SampleMask when the fragment shader uses it

For some reasons, this breaks trees rendering in Project Cars.

Fixes: 85010585cde ("radv: only enable gl_SampleMask if MSAA is enabled too")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109401
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_pipeline.c