diff options
author | Eric Anholt <[email protected]> | 2014-08-11 15:37:05 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-08-12 14:03:34 -0700 |
commit | 3e9a09415e84a2ae71eec8db65e58c3ea648c305 (patch) | |
tree | 1638e488c12a26e60432e47e1e3830d0705f5a35 /src/gallium/drivers | |
parent | b9eb3d4bee7591dacdf47835e5212962b2290dbf (diff) |
vc4: Fix off-by-one in texture maximum levels.
It's 2048x2048 that's the max, not 1024x1024.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_screen.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |