diff options
author | Kenneth Graunke <[email protected]> | 2014-02-02 03:03:39 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-02-18 18:59:24 -0800 |
commit | c593ad6e467b07ec0c70923d79259dbfb68b1bed (patch) | |
tree | 4ddb83bbe085669e0d20a90bb256312d5cfc866d /src/mesa | |
parent | 6c044231535b93c5d16404528946cad618d96bd9 (diff) |
i965: Bump MaxTexMbytes from 1GB to 1.5GB.
Even with the other limits raised, TestProxyTexImage would still reject
textures > 1GB in size. This is an artificial limit; nothing prevents
us from having a larger texture. I stayed shy of 2GB to avoid the
larger-than-aperture situation.
For 3D textures, this raises the effective limit:
- RGBA8: 645 -> 738
- RGBA16: 512 -> 586
- RGBA32F: 406 -> 465
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')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 339b4934670..ffbdb9470ed 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -313,6 +313,7 @@ brw_initialize_context_constants(struct brw_context *brw) ctx->Const.MaxTextureLevels = MAX_TEXTURE_LEVELS; ctx->Const.Max3DTextureLevels = 12; /* 2048 */ ctx->Const.MaxCubeTextureLevels = 14; /* 8192 */ + ctx->Const.MaxTextureMbytes = 1536; if (brw->gen >= 7) ctx->Const.MaxArrayTextureLayers = 2048; |