mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
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>
This commit is contained in:
parent
06b047ebc7
commit
6c04423153
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ brw_initialize_context_constants(struct brw_context *brw)
|
|||
if (ctx->Const.MaxTextureLevels > MAX_TEXTURE_LEVELS)
|
||||
ctx->Const.MaxTextureLevels = MAX_TEXTURE_LEVELS;
|
||||
ctx->Const.Max3DTextureLevels = 12; /* 2048 */
|
||||
ctx->Const.MaxCubeTextureLevels = 12;
|
||||
ctx->Const.MaxCubeTextureLevels = 14; /* 8192 */
|
||||
|
||||
if (brw->gen >= 7)
|
||||
ctx->Const.MaxArrayTextureLayers = 2048;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue