mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 23:50:11 +01:00
r600g: set CB_TARGET_MASK to 0xf and not 0xff for resolve on evergreen
independent_blend_enable must be true, so that the colormask isn't replicated in all colorbuffers. Reviewed-by: Jerome Glisse <jglisse@redhat.com>
This commit is contained in:
parent
1516a4f353
commit
1cfec6e2c8
1 changed files with 1 additions and 0 deletions
|
|
@ -3074,6 +3074,7 @@ void *evergreen_create_resolve_blend(struct r600_context *rctx)
|
|||
struct r600_pipe_state *rstate;
|
||||
|
||||
memset(&blend, 0, sizeof(blend));
|
||||
blend.independent_blend_enable = true;
|
||||
blend.rt[0].colormask = 0xf;
|
||||
rstate = evergreen_create_blend_state_mode(&rctx->context, &blend, V_028808_CB_RESOLVE);
|
||||
return rstate;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue