Searched refs:sparse_tile_size (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_texture.c | 142 uint32_t sparse_tile_size[3] = { in llvmpipe_texture_layout() local 180 nblocksx = align(nblocksx, sparse_tile_size[0]); in llvmpipe_texture_layout() 181 nblocksy = align(nblocksy, sparse_tile_size[1]); in llvmpipe_texture_layout() 182 align_z = MAX2(align_z, sparse_tile_size[2]); in llvmpipe_texture_layout() 1087 uint32_t sparse_tile_size[3] = { in llvmpipe_get_texel_offset() local 1094 … sparse_tile_size[0] * util_format_get_blockwidth(resource->format)); in llvmpipe_get_texel_offset() 1096 … sparse_tile_size[1] * util_format_get_blockheight(resource->format)); in llvmpipe_get_texel_offset() 1099 x / sparse_tile_size[0] + in llvmpipe_get_texel_offset() 1100 y / sparse_tile_size[1] * num_tiles_x + in llvmpipe_get_texel_offset() 1101 z / sparse_tile_size[2] * num_tiles_x * num_tiles_y in llvmpipe_get_texel_offset() [all …]
|
/external/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_image.c | 988 uint32_t sparse_tile_size[3] = { in lvp_image_bind_sparse() local 995 bind->offset.x / (sparse_tile_size[0] * util_format_get_blockwidth(format)), in lvp_image_bind_sparse() 996 bind->offset.y / (sparse_tile_size[1] * util_format_get_blockheight(format)), in lvp_image_bind_sparse() 997 z / (sparse_tile_size[2] * util_format_get_blockdepth(format)), in lvp_image_bind_sparse() 1001 DIV_ROUND_UP(bind->extent.width, sparse_tile_size[0] * util_format_get_blockwidth(format)), in lvp_image_bind_sparse() 1002 … DIV_ROUND_UP(bind->extent.height, sparse_tile_size[1] * util_format_get_blockheight(format)), in lvp_image_bind_sparse() 1003 DIV_ROUND_UP(depth, sparse_tile_size[2] * util_format_get_blockdepth(format)), in lvp_image_bind_sparse() 1009 … uint32_t start_x = (sparse_block_base[0] + block % sparse_block_counts[0]) * sparse_tile_size[0]; in lvp_image_bind_sparse() 1011 sparse_tile_size[1]; in lvp_image_bind_sparse() 1013 sparse_tile_size[2]; in lvp_image_bind_sparse()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample.c | 2267 uint32_t sparse_tile_size[3] = { in lp_build_tiled_sample_offset() local 2274 lp_build_const_vec(gallivm, bld->type, util_logbase2(sparse_tile_size[0])), in lp_build_tiled_sample_offset() 2275 lp_build_const_vec(gallivm, bld->type, util_logbase2(sparse_tile_size[1])), in lp_build_tiled_sample_offset() 2276 lp_build_const_vec(gallivm, bld->type, util_logbase2(sparse_tile_size[2])), in lp_build_tiled_sample_offset() 2282 …_count = lp_build_add(bld, width, lp_build_const_vec(gallivm, bld->type, sparse_tile_size[0] - 1)); in lp_build_tiled_sample_offset() 2288 …count = lp_build_add(bld, height, lp_build_const_vec(gallivm, bld->type, sparse_tile_size[1] - 1)); in lp_build_tiled_sample_offset() 2298 lp_build_const_vec(gallivm, bld->type, sparse_tile_size[0] - 1), in lp_build_tiled_sample_offset() 2299 lp_build_const_vec(gallivm, bld->type, sparse_tile_size[1] - 1), in lp_build_tiled_sample_offset() 2300 lp_build_const_vec(gallivm, bld->type, sparse_tile_size[2] - 1), in lp_build_tiled_sample_offset() 2314 sparse_tile_size[0] / block_size[0]); in lp_build_tiled_sample_offset() [all …]
|