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:

committed by
Marge Bot

parent
bb8a9038ff
commit
dd735bcb69
@@ -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
|
||||
|
Reference in New Issue
Block a user