mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
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:
parent
18013e3281
commit
5d2f3065fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue