From 3e9a09415e84a2ae71eec8db65e58c3ea648c305 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 11 Aug 2014 15:37:05 -0700 Subject: [PATCH] vc4: Fix off-by-one in texture maximum levels. It's 2048x2048 that's the max, not 1024x1024. --- src/gallium/drivers/vc4/vc4_screen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2