-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement glBlend #16
Comments
This functionality looks working from begining (when those two functions were added), it was missing only special handling for blending disabled case. I've also compared values generated by lima_blend_func and lima_blend_factor with value generated by binary shader and they look exactly the same. @yuq Did You found any cases where it wasn't working (and that's why it was disabled) ? |
TODO: |
Yes, it doesn't work properly when blend disabled and there's something need to be investigated (comment in the code), so I disable it. |
Confirmed - color mask value is also stored in alpha_blend field. Is there anything else done with this issue or we can close it (i wasn't able to find any information about independ blend support on mali4xx :/). |
I think no more for blend now. We can handle only zbuf case after we have depth & stencil support. Thanks for your work. |
Findings about blending:
It looks like binary driver is generating the same alpha_blend value (in render_state) when:
Generated value (0xfc3b1ad2) is calculated from
Mesa is behaving little different:
Test showed that blend_color is independ from blend_enable, so we can allways set blend_color_bg/blend_color_ra.
The text was updated successfully, but these errors were encountered: