diff options
author | Rob Clark <[email protected]> | 2013-08-31 09:14:27 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2013-09-14 13:31:58 -0400 |
commit | cb9e07aa84ff2dd8492fd8a7064ff2539d7d40f9 (patch) | |
tree | 5990926b76d9b849c70111e4a2c50090b6f3b3f7 /src/gallium/drivers/freedreno/freedreno_util.h | |
parent | 71ffac691b8423d823a4637a0542ccb4005cc996 (diff) |
freedreno: multi-slice resources (cubemap, mipmap, etc)
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_util.h')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_util.h b/src/gallium/drivers/freedreno/freedreno_util.h index 7bbbe8016b5..76f557d4835 100644 --- a/src/gallium/drivers/freedreno/freedreno_util.h +++ b/src/gallium/drivers/freedreno/freedreno_util.h @@ -48,6 +48,9 @@ enum adreno_rb_blend_opcode fd_blend_func(unsigned func); enum adreno_pa_su_sc_draw fd_polygon_mode(unsigned mode); enum adreno_stencil_op fd_stencil_op(unsigned op); +#define A3XX_MAX_MIP_LEVELS 14 +/* TBD if it is same on a2xx, but for now: */ +#define MAX_MIP_LEVELS A3XX_MAX_MIP_LEVELS #define FD_DBG_MSGS 0x01 #define FD_DBG_DISASM 0x02 |