main: Add STENCIL_INDEX formats to base_tex_format
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 30 Jan 2015 22:24:13 +0000 (14:24 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 30 Jan 2015 23:49:45 +0000 (15:49 -0800)
commit7cc3bb2318aa22ba1e85505ff50706bdacdbbf92
tree76520cab4197bfb783e7a4c1eea858bfd0c397b9
parent16875bc5cdf12ab2bab1f850a690b9e8a45010e9
main: Add STENCIL_INDEX formats to base_tex_format

This fixes a bug on BDW when our meta-based stencil blit path assert-fails
due to an invalid internal format even though we do support the
ARB_stencil_texturing extension.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/teximage.c