intel/fs: Use OPT() for split_virtual_grfs
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 9 Nov 2021 20:38:48 +0000 (14:38 -0600)
committerMarge Bot <emma+marge@anholt.net>
Sat, 18 Dec 2021 01:46:19 +0000 (01:46 +0000)
commitcf98a3cc19879d67d71023a4a85c16c2de560150
treed6b17be24f47a258207b584179533dc21a8bfa19
parent38fa18a7a325e1aca105c643dee0ae8305f4b35f
intel/fs: Use OPT() for split_virtual_grfs

Now that we're being conservative in the pass, it's easy to tell when it
makes progress and we can put it in the OPT() macro.  This way, we get
nice INTEL_DEBUG=optimizer dumps for it.  While we're here, fix the
header comment which is massively out-of-date.

Reviewed-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13734>
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs.h