[Mesa-dev] [PATCH 0/3] i915/i965: Depth buffer format fixes

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Thu Apr 24 04:11:41 PDT 2014


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

I was a bit annoyed when chromium-bsu stopped rendering the spinning
title text on my gen2 machine. So I bisected it down and found the
problem with the renderbuffer code overwriting the selected depth
buffer format.

This series fixes that particular problem, and I included the same fix
for i965 since the code is almost identical and it too picks the wrong
format for the depthBits==16 case.

I also threw in another patch for i915 to drop the Z formats from the 
list of supported texture formats on gen2 since the hardware doesn't
support that. But I don't have a test that would hit that issue.

Ville Syrjälä (3):
  i915: Fix format of private renderbuffers
  i915: Don't advertise Z formats in TextureFormatSupported on gen2
  i965: Fix format of private renderbuffers

 src/mesa/drivers/dri/i915/i915_context.c | 28 +++++++++--------
 src/mesa/drivers/dri/i915/intel_fbo.c    | 46 ++++++++++++++++++----------
 src/mesa/drivers/dri/i965/intel_fbo.c    | 52 ++++++++++++++++++++------------
 3 files changed, 78 insertions(+), 48 deletions(-)

-- 
1.8.3.2



More information about the mesa-dev mailing list