On Mon, 2010-03-01 at 07:32 -0800, Jakob Bornecrantz wrote:
> On 1 mar 2010, at 15.23, Jose Fonseca wrote:
> > Module: Mesa
> > Branch: gallium-format-cleanup
> > Commit: 4c3bfc9778d9a0a75bf93b15303a4839f971f695
> > URL:    
> > http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c3bfc9778d9a0a75bf93b15303a4839f971f695
> >
> > Author: José Fonseca <jfons...@vmware.com>
> > Date:   Mon Mar  1 15:17:41 2010 +0000
> >
> > gallium: Remove inexisting formats.
> >
> > Can't find these formats used in any state tracker or any API.
> >
> > For some of these probably the reverse notation was meant, for which
> > formats already exist.
> 
> src/gallium/state_trackers/xorg/xorg_exa.c:62

> currently they aren't translated to Gallium formats and I wonder if  
> the new swizzle state on the sampler views will solve this instead.

hmm... There's a bunch of PICT_* formats there that could be translated
to existing gallium formats and aren't. Is it even imperative that all
formats are supported? It looks like some can't be supported by 3d
hardware, even with swizzles. Also if swizlling is necessary it can and
should be performed in the fragment shaders generated by the xorg state
tracker. 

Anyway, this bears no relation with my change above, as all formats I
removed were signed, and xorg makes no use of SNORM or SSCALED formats
AFAICT.

Jose


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to