Summary: | r300g: blend sfactor=GL_DST_COLOR fails with FBOs | ||
---|---|---|---|
Product: | Mesa | Reporter: | Stefan Dösinger <stefandoesinger> |
Component: | Drivers/Gallium/r300 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Screenshot showing the problem. |
Description
Stefan Dösinger
2012-12-07 15:41:12 UTC
I dug through the optimizations in r300_create_blend_state, and the problem is the "Disable reading if SRC_ALPHA == 0" optimization. It is not correct if the source factor is DEST_COLOR. I'm checking if any other source factors have to be excluded. (In reply to comment #1) > I dug through the optimizations in r300_create_blend_state, and the problem > is the "Disable reading if SRC_ALPHA == 0" optimization. It is not correct > if the source factor is DEST_COLOR. I'm checking if any other source factors > have to be excluded. Yes, you're right. The optimization should check the source RGB and A factors too. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.