Summary: | [swrast] main/renderbuffer.c:1731: _mesa_map_soft_renderbuffer: Assertion `rb->Data' failed. | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Other | Assignee: | Eric Anholt <eric> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | medium | CC: | brianp |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2011-11-05 23:34:12 UTC
345fc4161967f15fb80848cd7dc6a63100f8c12d is the first bad commit commit 345fc4161967f15fb80848cd7dc6a63100f8c12d Author: Eric Anholt <eric@anholt.net> Date: Wed Oct 12 17:05:20 2011 -0700 swrast: Convert color glReadPixels slow path to using MapRenderbuffer. This may be a bit slower than before because we're switching from per-format compiled loops in GetRow to _mesa_unpack_rgba_block_unpack's loop around a callback to unpack a pixel. The solution there would be to make _mesa_unpack_rgba_block fold the span loop into the format handlers. (On the other hand, function call overhead will hardly matter if MapRenderbuffer means the driver gets the data into cacheable memory instead of uncached). The adjust_colors code should no longer be required, since the unpack function does the 565 to float conversion in a single pass instead of converting it (poorly) through 8888 as apparently happened in the past. Reviewed-by: Brian Paul <brianp@vmware.com> :040000 040000 cc580717701b9d8d90bc5371d7bde9ffae278cf3 54f18f68df28277cb8daacb30591f76bbb950d52 M src bisect run success mesa: bf8ad170c5af58fe9f49b3ce0f92c4eda9e5d845 (master) Retested. This regression is still present. Fixed with commit 6dbf2bac5043564f32cdad08e8d6220618a02080 mesa: f4c03da3276bee39802236c21a0b5a31f05e2541 (master) Verified fixed. |
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.