intel/fs: Break out yet another FB write helper
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 3 Dec 2021 16:45:48 +0000 (10:45 -0600)
committerMarge Bot <emma+marge@anholt.net>
Mon, 6 Feb 2023 09:12:18 +0000 (09:12 +0000)
commit964b87898690064df35c1ef760fdbf297d8ab434
treeda76fb969bab947ff76ef7bb3af5eaa2e5d74724
parent9c658b1fc86078efe5e71f68519e9216de0f46de
intel/fs: Break out yet another FB write helper

This new helper, do_emit_fb_writes() does the actual walk over all the
render targets to emit each of the different FB writes.  We want this in
a helper because we're about to go a bit crazy with coarse.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21094>
src/intel/compiler/brw_fs.h
src/intel/compiler/brw_fs_visitor.cpp