mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
panfrost: Drop redundant NULL check
ctx->blend is already dereferenced by this point anyway. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6440>
This commit is contained in:
parent
acf77cbb39
commit
518537d1c8
1 changed files with 1 additions and 1 deletions
|
|
@ -686,7 +686,7 @@ panfrost_emit_frag_shader(struct panfrost_context *ctx,
|
|||
zsa->base.depth.enabled ? zsa->base.depth.func : PIPE_FUNC_ALWAYS));
|
||||
|
||||
SET_BIT(fragmeta->unknown2_4, MALI_NO_DITHER,
|
||||
(dev->quirks & MIDGARD_SFBD) && ctx->blend &&
|
||||
(dev->quirks & MIDGARD_SFBD) &&
|
||||
!ctx->blend->base.dither);
|
||||
|
||||
SET_BIT(fragmeta->unknown2_4, 0x10, dev->quirks & MIDGARD_SFBD);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue