Home
last modified time | relevance | path

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

/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.c506 unsigned pack_x_pitch, pack_x_nr; in i945_texture_layout_3d() local
514 pack_x_pitch = tex->stride / util_format_get_blocksize(pt->format); in i945_texture_layout_3d()
527 x += pack_x_pitch; in i945_texture_layout_3d()
536 if (pack_x_pitch > 4) { in i945_texture_layout_3d()
537 pack_x_pitch >>= 1; in i945_texture_layout_3d()
539 assert(pack_x_pitch * pack_x_nr * util_format_get_blocksize(pt->format) <= tex->stride); in i945_texture_layout_3d()