From: Ville Syrjälä <ville.syrj...@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

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to