mesa/src
Kenneth Graunke 9db2098d18 i965: Use GL_RED for DEPTH_TEXTURE_MODE in ES 3.0 for unsized formats.
Khronos has apparently decided that depth textures with sized formats
(allowed with ARB_internalformat_query or ES 3.0) should be treated as
GL_RED, while unsized formats (an existing feature) should be treated
as GL_INTENSITY for compatibility with ES 2.0.

Ian is proposing changes to ARB_internalformat_query which will make
this actually legal and consistent.

A similar problem exists with GL 4.2, but we're going to ignore that
for the time being.

Tested on Ivybridge: no Piglit regressions; fixes 4 es3conform tests:
- depth_texture_fbo
- depth_texture_fbo_clear
- depth_texture_teximage
- depth_texture_texsubimage

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2013-01-25 09:04:25 -05:00
..
egl egl/dri2: Fix typo in the previous commit 2013-01-15 14:19:04 -08:00
gallium libgl-xlib/build: Link with C++ when LLVM is used 2013-01-24 14:00:27 -08:00
gbm Clean up .gitignore files 2013-01-10 22:01:31 +01:00
getopt
glsl scons: Add imports.c to builtin_compiler build. 2013-01-24 22:36:27 -08:00
glx scons: Fix dependencies of generated headers. 2013-01-21 19:10:54 +00:00
gtest gtest: Build it only for 'make check'. 2013-01-13 12:38:44 +01:00
mapi scons: Fix dependencies of generated headers. 2013-01-21 19:10:54 +00:00
mesa i965: Use GL_RED for DEPTH_TEXTURE_MODE in ES 3.0 for unsized formats. 2013-01-25 09:04:25 -05:00
Makefile.am automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00