Searched refs:pack_x_pitch (Results 1 – 3 of 3) sorted by relevance
90 GLuint pack_x_pitch, pack_x_nr; in brw_miptree_layout() local104 pack_x_pitch = width; in brw_miptree_layout()119 x += pack_x_pitch; in brw_miptree_layout()138 if (pack_x_pitch > ALIGN(width, mt->align_w)) { in brw_miptree_layout()139 pack_x_pitch = ALIGN(width, mt->align_w); in brw_miptree_layout()144 if (pack_x_pitch > 4) { in brw_miptree_layout()145 pack_x_pitch >>= 1; in brw_miptree_layout()
408 GLuint pack_x_pitch, pack_x_nr; in i945_miptree_layout_3d() local416 pack_x_pitch = mt->total_width; in i945_miptree_layout_3d()431 x += pack_x_pitch; in i945_miptree_layout_3d()440 if (pack_x_pitch > 4) { in i945_miptree_layout_3d()441 pack_x_pitch >>= 1; in i945_miptree_layout_3d()443 assert(pack_x_pitch * pack_x_nr <= mt->total_width); in i945_miptree_layout_3d()
505 unsigned pack_x_pitch, pack_x_nr; in i945_texture_layout_3d() local513 pack_x_pitch = tex->stride / util_format_get_blocksize(pt->format); in i945_texture_layout_3d()526 x += pack_x_pitch; in i945_texture_layout_3d()535 if (pack_x_pitch > 4) { in i945_texture_layout_3d()536 pack_x_pitch >>= 1; in i945_texture_layout_3d()538 assert(pack_x_pitch * pack_x_nr * util_format_get_blocksize(pt->format) <= tex->stride); in i945_texture_layout_3d()