mesa/src
Kenneth Graunke 679c93ff89 meta: Don't _mesa_set_enable() invalid targets in ES 1.
GL_TEXTURE_1D, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and
GL_TEXTURE_GEN_S/T/R/Q don't exist in ES 1 contexts, so any meta ops
that used _mesa_meta_begin with MESA_META_TEXTURE would trigger GL
errors.  One such operation is _mesa_meta_Clear().

On ES 1, we want to disable GL_TEXTURE_GEN_STR_OES instead.

Fixes the ES1 conformance test miplin.c, which was regressed by commit
08be1d288f.

NOTE: This is a candidate for the 9.0 branch.

v2: Also blacklist GL_TEXTURE_3D, per Brian's comment.
v3: Disable GL_TEXTURE_GEN_STR_OES, per Ian's comment.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54297
Reviewed-by: Brian Paul <brianp@vmware.com> [v1]
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2012-09-15 20:13:09 -07:00
..
egl Use calloc instead of malloc/memset-0 2012-09-05 22:28:50 -07:00
gallium Temporarily revert "mesa: remove remaining FEATURE_* defines where protected by API check." 2012-09-15 18:18:39 +01:00
gbm dri: Rework planar image interface 2012-08-31 19:51:02 +02:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl scons: add new -p (prefix) options for yacc 2012-09-15 09:01:15 -06:00
glx glx: move 'prime' var into #ifdef'd code block 2012-09-06 18:58:49 -06:00
gtest build: Fix gtest out-of-tree build 2012-08-14 10:54:39 -07:00
mapi glapi/glx: rename 'table' variable to 'disp_table' 2012-09-06 18:58:49 -06:00
mesa meta: Don't _mesa_set_enable() invalid targets in ES 1. 2012-09-15 20:13:09 -07:00
.gitignore automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07: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