https://bugs.freedesktop.org/show_bug.cgi?id=103544

--- Comment #10 from Ilia Mirkin <imir...@alum.mit.edu> ---
(In reply to Ilia Mirkin from comment #9)
> Created attachment 135237 [details] [review]
> enable simple_float logic for blending
> 
> Entirely untested (not even compiled) patch to force blending to be 0*NaN=0.
> Looks like radeonsi sets this bit, so it's not completely crazy.

Note that it looks like SIMPLE_FLOAT merely makes an optimization which allows
a GL_ZERO factor to cause a 0 to result... sometimes. But it could be enough
here. If an infinity or NaN makes it into a dest buffer, without this it will
ruin any future blending done, even if there's an attempt to override the
destination value.

Patch is available at https://patchwork.freedesktop.org/patch/186599/ (although
I'll have to rework the description)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to