mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
panfrost: Make alpha=0 NOP / 1 store Bifrost only
These fields were removed in Valhall in favour of a simpler overdraw mechanism. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15795>
This commit is contained in:
parent
bb8a9038ff
commit
dd735bcb69
1 changed files with 2 additions and 0 deletions
|
|
@ -361,10 +361,12 @@ panfrost_emit_blend(struct panfrost_batch *batch, void *rts, mali_ptr *blend_sha
|
|||
fs->info.bifrost.blend[i].format;
|
||||
cfg.fixed_function.rt = i;
|
||||
|
||||
#if PAN_ARCH <= 7
|
||||
if (!info.opaque) {
|
||||
cfg.fixed_function.alpha_zero_nop = info.alpha_zero_nop;
|
||||
cfg.fixed_function.alpha_one_store = info.alpha_one_store;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue