anv: Don't delete fragment shaders that write sample mask
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 30 Oct 2019 20:50:51 +0000 (15:50 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 31 Oct 2019 21:07:15 +0000 (21:07 +0000)
commitdf7a730b4f694f6a07e7d6fd673453b8315ae867
tree1af387ef08a8d591e28bea4d3dc451d4c92dea54
parent265e4d943245cab6fa30da7632cf31aba5c3c791
anv: Don't delete fragment shaders that write sample mask

Also, use color_outputs_valid rather than nr_color_outputs since it
should be a bit more accurate.

Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/intel/vulkan/anv_pipeline.c