Skip to content
Snippets Groups Projects
Forked from Mesa / mesa
135755 commits behind the upstream repository.
Ville Syrjälä's avatar
Ville Syrjälä authored
Gen2 doesn't support depth/stencil textures, and since

 commit c1d4d499
 Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
 Date:   Thu Apr 24 14:11:43 2014 +0300

    i915: Don't advertise Z formats in TextureFormatSupported on gen2

depth/stencil formats are no longer accepted as texture formats.
However we still want depth/stencil renderbuffers, so add explicit
format checks to intel_alloc_renderbuffer_storage() to allow such
things.

Reviewed-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
dafae910
History
Name Last commit Last update