intel/fs: Use shader_info::fs::uses_sample_shading
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 19 Nov 2021 21:06:55 +0000 (15:06 -0600)
committerMarge Bot <emma+marge@anholt.net>
Wed, 13 Jul 2022 20:28:42 +0000 (20:28 +0000)
commitca9f0f72db3c5dc32299d88043c3918c579413e5
treefcb4a9ddd9e2bbd7d6d9cd32f7bea02a11b9f010
parent4f3bf712cf88405c3a273761ebf3513066d6e67d
intel/fs: Use shader_info::fs::uses_sample_shading

NIR constructs this information for us as part of nir_gather_info these
days so we can simplify our logic a bit.  This will also let us be more
correct once we move uses_sample_shading scraping earlier.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14020>
src/intel/compiler/brw_fs.cpp