[Intel-gfx] Incorrect limitation?

Olivier Galibert galibert at pobox.com
Mon Feb 8 11:04:13 CET 2010


  Hi all,

intel_screen.c says:
      /* With DRI2 right now, GetBuffers always returns a depth/stencil buffer
       * with the same cpp as the drawable.  So we can't support depth cpp !=
       * color cpp currently.
       */

and then proceeds to drop the depth bits to 16 and remove stencil for
565 drawables.  But wandering around in intel_context.c I see that
GetBufferWithFormats looks correctly used when available.  So is that
an artefact from when before GBWF was available?

I don't really care about 565, but otoh fp32 depth, 4*s16 accumulation
buffers or u16/fp16/fp32 color channels are interesting and give bpp
mismatches between buffers.

Best,

  OG.



More information about the Intel-gfx mailing list