Module: Mesa Branch: master Commit: 3e9a09415e84a2ae71eec8db65e58c3ea648c305 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e9a09415e84a2ae71eec8db65e58c3ea648c305
Author: Eric Anholt <[email protected]> Date: Mon Aug 11 15:37:05 2014 -0700 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 a761122..998bbac 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
