Home
last modified time | relevance | path

Searched refs:pack_x_pitch (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_tex_layout.c90 GLuint pack_x_pitch, pack_x_nr; in brw_miptree_layout() local
104 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()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_tex_layout.c408 GLuint pack_x_pitch, pack_x_nr; in i945_miptree_layout_3d() local
416 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()
/external/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c505 unsigned pack_x_pitch, pack_x_nr; in i945_texture_layout_3d() local
513 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()