i965: Bump GL_MAX_CUBE_MAP_TEXTURE_SIZE to 8192.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 2 Feb 2014 10:58:42 +0000 (02:58 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 19 Feb 2014 02:59:18 +0000 (18:59 -0800)
commit6c044231535b93c5d16404528946cad618d96bd9
tree117479e1fdf14a47d8a3dbc30f1be9120bc42def
parent06b047ebc75c6af02f806d051a5703748ee76b69
i965: Bump GL_MAX_CUBE_MAP_TEXTURE_SIZE to 8192.

Gen4+ supports 8192x8192 cube maps.  Ivybridge and later can actually
support 16384, but that would place GL_MAX_CUBE_MAP_TEXTURE_SIZE above
GL_MAX_TEXTURE_SIZE, which seems like a bad idea.

(Unfortunately, we can't bump GL_MAX_TEXTURE_SIZE to 16384 without
causing regressions due to awful W-tiled stencil buffer interactions.)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74130
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_context.c