Summary: | src/gallium/auxiliary/gallivm/lp_bld_format_yuv.c:422:lp_build_fetch_subsampled_rgba_aos: Assertion `format_desc->block.width == 2' failed. | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | Christian König <ckoenig.leichtzumerken> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | medium | CC: | brianp, jfonseca |
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Possible fix |
Description
Vinson Lee
2011-07-16 00:26:48 UTC
git bisect good 898be7d5acc27e2e0dfa8c2f27dc4fd7085fb476 The regression is introduced at commit ed24e19070b7dff12670151b2d184f31c845ccae. commit ed24e19070b7dff12670151b2d184f31c845ccae Merge: 85e1fa5 a2a6799 Author: Christian König <deathsimple@vodafone.de> Date: Wed Jul 13 22:56:06 2011 +0200 Merge branch 'pipe-video' Sorry for the late reply, the problem seems to be the new texture formats. Unfortunately I'm in Canada right now and can't work on it from here, I will take a look at it as soon as I'm back home. YV12 is a planar format, so it should be described as a planar formar in u_format.csv, and at least ignored on every place that doesn't know how to handle planar formats. Changing YV12 and the other new formats added with the pipe-video merge from "subsampled," to "other" indeed fixes the bug and doesn't seems to have any negative consequences. I think adding new "planar" and "indexed" options would be more clean, but I have no idea about the consequences for other parts of gallium. Any advise on this? Created attachment 49482 [details] [review] Possible fix (In reply to comment #5) > Changing YV12 and the other new formats added with the pipe-video merge from > "subsampled," to "other" indeed fixes the bug and doesn't seems to have any > negative consequences. > > I think adding new "planar" and "indexed" options would be more clean, but I > have no idea about the consequences for other parts of gallium. > > Any advise on this? Adding "planar"/"indexed" would be cleaner but it would imply adding UTIL_FORMAT_LAYOUT_PLANAR/UTIL_FORMAT_LAYOUT_INDEXED in u_format, and handle everywhere. So until there is an actual use case for doing so, your patch of using other seems fine. Akk, patch is pushed. mesa: 120d71a45cfda1edfa8cd6b1732e209eb98b53d8 (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.