mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
iris: correct dst alpha blend factor in Wa_14018912822
Fixes: 0e9a26372b ("iris: implement Wa_14018912822")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25424>
This commit is contained in:
parent
6ea2ea0bb0
commit
ebe95fee21
1 changed files with 2 additions and 2 deletions
|
|
@ -6582,7 +6582,7 @@ iris_upload_dirty_render_state(struct iris_context *ice,
|
|||
color_blend_zero = true;
|
||||
}
|
||||
if (dst_alpha_blend_factor == BLENDFACTOR_ZERO) {
|
||||
dst_alpha_blend_factor = BLENDFACTOR_CONST_COLOR;
|
||||
dst_alpha_blend_factor = BLENDFACTOR_CONST_ALPHA;
|
||||
alpha_blend_zero = true;
|
||||
}
|
||||
}
|
||||
|
|
@ -7205,7 +7205,7 @@ iris_upload_dirty_render_state(struct iris_context *ice,
|
|||
if (ice->state.color_blend_zero)
|
||||
dst_blend_factor = BLENDFACTOR_CONST_COLOR;
|
||||
if (ice->state.alpha_blend_zero)
|
||||
dst_alpha_blend_factor = BLENDFACTOR_CONST_COLOR;
|
||||
dst_alpha_blend_factor = BLENDFACTOR_CONST_ALPHA;
|
||||
}
|
||||
|
||||
uint32_t dynamic_pb[GENX(3DSTATE_PS_BLEND_length)];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue