-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ian Romanick wrote: > Brian Paul wrote: >> Ian Romanick wrote: >>> Why is the DataType for MESA_FORMAT_Z24_S8 and related types >>> GL_UNSIGNED_INT? Right now the Intel drivers manually set the >>> renderbuffer DataType for these types to GL_UNSIGNED_INT_24_8 for these >>> formats. >> The renderbuffer DataType and gl_format DataType are different things. >> The former are related to the get/put span functions and the later >> describes the format's encoding. > >> Can you point to the specific code you're concerned with? > > I'm looking at the handling of MESA_FORMAT_S8_Z24 in > intel_create_renderbuffer. This uses has 'irb->Base.DataType = > GL_UNSIGNED_INT_24_8_EXT'. There's a lot of code like this in > intel_fbo.c that seems like it should be replaced with calls to format
Likewise in intel_alloc_renderbuffer_storage. > query functions supplied by format.c. > > My goal is to fix the last couple regressions introduced by the > texformat changes and get the XRGB8888 formats working. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkse1MoACgkQX1gOwKyEAw/TRgCfQLWqd7u3ScjW/rTCM7N/OBQq xYoAoI3MK2zLm6OdMjUut+wkJNLC9g91 =aI3G -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev