[Mesa-dev] [PATCH] st/mesa: Override blend factors involving alpha if it doesn't exist.

Kenneth Graunke kenneth at whitecape.org
Mon Aug 27 21:55:12 UTC 2018


On Monday, August 27, 2018 11:05:19 AM PDT Marek Olšák wrote:
> Yeah, this will be more complicated because it's per RT.
> 
> I suggest adding a PIPE_CAP for the hw capability to force DST_ALPHA
> to 0, and applying this workaround only if the PIPE_CAP is 0.
> 
> Marek

I was thinking of applying this hack based on PIPE_CAP_INDEP_BLEND_FUNC.

Ilia seemed to think that it was unsupportable on older Nouveau (without
independent alpha blending), but harmless either way on modern Nouveau.
(Supposedly Freedreno does this workaround in the driver...)

Would you prefer not to have this triggered?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180827/28a6acdc/attachment.sig>


More information about the mesa-dev mailing list