radv: store cb_shader_mask for fragment shaders and epilogs
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28976>
This commit is contained in:

committed by
Marge Bot

parent
0ce1bfc040
commit
66d4188ec5
@@ -917,6 +917,8 @@ gather_shader_info_fs(const struct radv_device *device, const nir_shader *nir,
|
||||
|
||||
/* Clear color attachments that aren't exported by the FS to match IO shader arguments. */
|
||||
info->ps.spi_shader_col_format &= info->ps.colors_written;
|
||||
|
||||
info->ps.cb_shader_mask = ac_get_cb_shader_mask(info->ps.spi_shader_col_format);
|
||||
}
|
||||
|
||||
const bool export_alpha_and_mrtz =
|
||||
|
Reference in New Issue
Block a user