radv: gather color0_written with scalar io correctly

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38853>
This commit is contained in:
Georg Lehmann 2025-12-08 16:38:23 +01:00 committed by Marge Bot
parent 18013e3281
commit 5d2f3065fd

View file

@ -147,7 +147,7 @@ gather_intrinsic_store_output_info(const nir_shader *nir, const nir_intrinsic_in
info->ps.colors_written |= 0xfu << (4 * index);
if (location == FRAG_RESULT_DATA0)
info->ps.color0_written = write_mask;
info->ps.color0_written |= write_mask << component;
}
break;
default: