diff options
author | Kenneth Graunke <[email protected]> | 2014-02-02 02:58:42 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-02-18 18:59:18 -0800 |
commit | 6c044231535b93c5d16404528946cad618d96bd9 (patch) | |
tree | 117479e1fdf14a47d8a3dbc30f1be9120bc42def /src/mesa/drivers/dri/i965/brw_context.c | |
parent | 06b047ebc75c6af02f806d051a5703748ee76b69 (diff) |
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 <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 50d6ca13208..339b4934670 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -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; |