On Die, 2011-05-17 at 00:12 +0200, Marcin Slusarz wrote: > On Mon, May 16, 2011 at 10:51:58PM +0200, Roland Scheidegger wrote: > > Otherwise, doesn't really look hacky to me - unless we could get other > > channel ordering or something similar... > > It makes assumptions about how color components are ordered and what are > their widths - e.g. it can't distinguish r5g6b5 from a1r5g5b5.
Such assumptions should be fine for non-RENDER operations. For RENDER, maybe you could use something like exaGetRGBAFromPixel, at least for inspiration. -- Earthling Michel Dänzer | http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev