Summary: | [softpipe] SIGSEGV util/u_format.c:316 | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Other | Assignee: | Dave Airlie <airlied> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | medium | CC: | brianp |
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2011-10-11 12:25:04 UTC
396ac41fc285f0d7c8545f2b32ba373693a7a326 is the first bad commit commit 396ac41fc285f0d7c8545f2b32ba373693a7a326 Author: Dave Airlie <airlied@redhat.com> Date: Mon Sep 19 15:05:51 2011 +0100 softpipe: add integer support This adds support to the clear and tile caches for integer storage and clearing, avoiding any floating paths. Signed-off-by: Dave Airlie <airlied@redhat.com> :040000 040000 de153dc01ce975df5a679bd57fa6d3620162976a 4b5254f259725df2211c971683410571276c1d38 M src bisect run success The problem is the util_format_is_pure_uint() function is returning TRUE for PIPE_FORMAT_S8_UINT but there's no unpack_rgba_uint() method for that format. Is stencil supposed to be considered as a pure uint format? I suspect not. We should probably add some assertions somewhere in the code to checks that if a format is pure uint/sint/etc that it defines the right pack/unpack methods. (In reply to comment #2) > The problem is the util_format_is_pure_uint() function is returning TRUE for > PIPE_FORMAT_S8_UINT but there's no unpack_rgba_uint() method for that format. > > Is stencil supposed to be considered as a pure uint format? I suspect not. > > We should probably add some assertions somewhere in the code to checks that if > a format is pure uint/sint/etc that it defines the right pack/unpack methods. yeah I didn't meant to push softpipe bits yet, I'll fix it today. Either need to make S8 UINT a pure integer or just fix the tests to not return pure int for ZS colorspace. mesa: ec174a424489664626796126f937fbce3e7d8cd8 (master) Retested. fdo23670-drawpix_stencil passes on softpipe now. |
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.