From: Eric Anholt Date: Mon, 11 Aug 2014 22:37:05 +0000 (-0700) Subject: vc4: Fix off-by-one in texture maximum levels. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e9a09415e84a2ae71eec8db65e58c3ea648c305;p=mesa.git vc4: Fix off-by-one in texture maximum levels. It's 2048x2048 that's the max, not 1024x1024. --- diff --git a/src/gallium/drivers/vc4/vc4_screen.h b/src/gallium/drivers/vc4/vc4_screen.h index a761122637f..998bbac0416 100644 --- a/src/gallium/drivers/vc4/vc4_screen.h +++ b/src/gallium/drivers/vc4/vc4_screen.h @@ -37,7 +37,7 @@ struct vc4_bo; #define VC4_DEBUG_PERF 0x0020 #define VC4_DEBUG_NORAST 0x0040 -#define VC4_MAX_MIP_LEVELS 11 +#define VC4_MAX_MIP_LEVELS 12 struct vc4_screen { struct pipe_screen base;