Home
last modified time | relevance | path

Searched refs:blockwidth (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_util.h217 GLuint blockwidth; in get_format_blocksx() local
219 _mesa_get_format_block_size(format, &blockwidth, &blockheight); in get_format_blocksx()
220 return (x + blockwidth - 1) / blockwidth; in get_format_blocksx()
227 GLuint blockwidth; in get_format_blocksy() local
229 _mesa_get_format_block_size(format, &blockwidth, &blockheight); in get_format_blocksy()
/external/mesa3d/src/gallium/auxiliary/util/
Du_surface.c81 int blockwidth = util_format_get_blockwidth(format); in util_copy_rect() local
85 assert(blockwidth > 0); in util_copy_rect()
88 dst_x /= blockwidth; in util_copy_rect()
90 width = (width + blockwidth - 1)/blockwidth; in util_copy_rect()
92 src_x /= blockwidth; in util_copy_rect()
160 int blockwidth = desc->block.width; in util_fill_rect() local
164 assert(blockwidth > 0); in util_fill_rect()
167 dst_x /= blockwidth; in util_fill_rect()
169 width = (width + blockwidth - 1)/blockwidth; in util_fill_rect()
Du_format.h798 unsigned blockwidth = util_format_get_blockwidth(format); in util_format_get_nblocksx() local
799 return (x + blockwidth - 1) / blockwidth; in util_format_get_nblocksx()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_lowering_nvc0.cpp1873 int blockwidth = format->bits[0] + format->bits[1] + in processSurfaceCoordsNVE4() local
1879 TYPE_U32, bld.loadImm(NULL, blockwidth / 8), in processSurfaceCoordsNVE4()
2093 int blockwidth = format->bits[0] + format->bits[1] + in processSurfaceCoordsNVC0() local
2099 TYPE_U32, bld.loadImm(NULL, blockwidth / 8), in processSurfaceCoordsNVC0()
2192 int blockwidth = format->bits[0] + format->bits[1] + in processSurfaceCoordsGM107() local
2198 TYPE_U32, bld.loadImm(NULL, blockwidth / 8), in processSurfaceCoordsGM107()