[Mesa-dev] [PATCH 00/13] Fix llvmpipe on big-endian

Michel Dänzer michel at daenzer.net
Thu May 16 08:54:59 PDT 2013


On Don, 2013-05-16 at 10:59 -0400, Adam Jackson wrote:
> On Thu, 2013-05-16 at 16:28 +0200, Michel Dänzer wrote:
> > On Don, 2013-05-16 at 09:06 -0400, Adam Jackson wrote:
> > > This series introduces bytewise formats for framebuffers, and fixes the
> > > vector representation on big-endian.  No damage to piglit on little-endian,
> > > but fixes a few thousand on big-endian, enough to make gnome-shell work
> > > correctly.
> > 
> > Nice. I don't have a lot of bandwidth for reviewing this thoroughly
> > right now, but the format related changes look good to me on a quick
> > glance. Just one thing: Why do you call the new formats 'bytewise'? That
> > term seems more appropriate for the existing formats to this non-native
> > English speaker, I'd call the new formats 'packed' or something along
> > those lines.
> 
> Eh, had to make up something.  I was sort of looking for an adjective
> for "these formats imply a byte-level ordering" as opposed to "these
> formats have whatever vector order is platform-convenient", but packed
> probably makes more sense.

The memory layout of the new formats depends on the host endianness.
They're essentially defined as packed 32 bit values.


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the mesa-dev mailing list