[Mesa-dev] [PATCH 1/3] i965: Bump MAX_3D_TEXTURE_SIZE to 2048.
Ian Romanick
idr at freedesktop.org
Wed Feb 19 00:10:24 CET 2014
I just realized that I never actually sent my R-b after we discussed
this series.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
On 02/02/2014 03:16 AM, Kenneth Graunke wrote:
> It's highly unlikely that there will be enough memory in the system to
> allocate enough space for this, but we should still expose the hardware
> limit. It's what the Intel Windows driver does, and it seems most other
> vendors do likewise.
>
> Cc: idr at freedesktop.org
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74130
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
> src/mesa/drivers/dri/i965/brw_context.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
> index d9d1ae5..c54c818 100644
> --- a/src/mesa/drivers/dri/i965/brw_context.c
> +++ b/src/mesa/drivers/dri/i965/brw_context.c
> @@ -304,7 +304,7 @@ brw_initialize_context_constants(struct brw_context *brw)
> ctx->Const.MaxTextureLevels = 14; /* 8192 */
> if (ctx->Const.MaxTextureLevels > MAX_TEXTURE_LEVELS)
> ctx->Const.MaxTextureLevels = MAX_TEXTURE_LEVELS;
> - ctx->Const.Max3DTextureLevels = 9;
> + ctx->Const.Max3DTextureLevels = 12; /* 2048 */
> ctx->Const.MaxCubeTextureLevels = 12;
>
> if (brw->gen >= 7)
>
More information about the mesa-dev
mailing list