Searched refs:SP_MAX_TEXTURE_2D_LEVELS (Results 1 – 6 of 6) sorted by relevance
33 #define SP_MAX_TEXTURE_2D_LEVELS 15 /* 16K x 16K */ macro39 #define MAX_WIDTH (1 << (SP_MAX_TEXTURE_2D_LEVELS - 1))40 #define MAX_HEIGHT (1 << (SP_MAX_TEXTURE_2D_LEVELS - 1))
48 unsigned long level_offset[SP_MAX_TEXTURE_2D_LEVELS];49 unsigned stride[SP_MAX_TEXTURE_2D_LEVELS];50 unsigned img_stride[SP_MAX_TEXTURE_2D_LEVELS];
46 #define TEX_ADDR_BITS (SP_MAX_TEXTURE_2D_LEVELS - 1)47 #define TEX_Y_BITS (SP_MAX_TEXTURE_2D_LEVELS - 1 - TEX_TILE_SIZE_LOG2)
46 #define TILE_ADDR_BITS (SP_MAX_TEXTURE_2D_LEVELS - 1 - TILE_SIZE_LOG2)
53 assert((TEX_TILE_SIZE << TEX_Y_BITS) >= (1 << (SP_MAX_TEXTURE_2D_LEVELS-1))); in sp_create_tex_tile_cache()
132 return 1 << (SP_MAX_TEXTURE_2D_LEVELS - 1); in softpipe_get_param()