mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
r600: fix regression in gl_FragColor drawing
This fixes a regression in the broadcast color to all color bufs case.
Fixes: 6c691081a (r600: fixup sparse color exports.)
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
9c9a9bee44
commit
b9d2ff05a6
1 changed files with 2 additions and 0 deletions
|
|
@ -4123,6 +4123,8 @@ static int r600_shader_from_tgsi(struct r600_context *rctx,
|
|||
output[j].op = CF_OP_EXPORT;
|
||||
output[j].type = V_SQ_CF_ALLOC_EXPORT_WORD0_SQ_EXPORT_PIXEL;
|
||||
shader->nr_ps_color_exports++;
|
||||
if (k > shader->ps_export_highest)
|
||||
shader->ps_export_highest = k;
|
||||
shader->ps_color_export_mask |= (0xf << (j * 4));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue