Home
last modified time | relevance | path

Searched refs:util_format_get_nblocksx (Results 1 – 25 of 25) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_blit.c720 dst_width = util_format_get_nblocksx(dst->format, dst_width); in r600_resource_copy_region()
722 src_width0 = util_format_get_nblocksx(src->format, src_width0); in r600_resource_copy_region()
724 src_widthFL = util_format_get_nblocksx(src->format, src_widthFL); in r600_resource_copy_region()
727 dstx = util_format_get_nblocksx(dst->format, dstx); in r600_resource_copy_region()
730 sbox.x = util_format_get_nblocksx(src->format, src_box->x); in r600_resource_copy_region()
733 sbox.width = util_format_get_nblocksx(src->format, src_box->width); in r600_resource_copy_region()
745 dst_width = util_format_get_nblocksx(dst->format, dst_width); in r600_resource_copy_region()
746 src_width0 = util_format_get_nblocksx(src->format, src_width0); in r600_resource_copy_region()
747 src_widthFL = util_format_get_nblocksx(src->format, src_widthFL); in r600_resource_copy_region()
749 dstx = util_format_get_nblocksx(dst->format, dstx); in r600_resource_copy_region()
[all …]
Dr600_texture.c1564 unsigned nblks_x = util_format_get_nblocksx(tex->format, width); in r600_create_surface()
1570 width0 = util_format_get_nblocksx(tex->format, width0); in r600_create_surface()
Dr600_state.c2986 src_x = util_format_get_nblocksx(src->format, src_box->x); in r600_dma_copy()
2987 dst_x = util_format_get_nblocksx(src->format, dst_x); in r600_dma_copy()
Devergreen_state.c3920 src_x = util_format_get_nblocksx(src->format, src_box->x); in evergreen_dma_copy()
3921 dst_x = util_format_get_nblocksx(src->format, dst_x); in evergreen_dma_copy()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_miptree.c102 rect->w = util_format_get_nblocksx(pt->format, rect->w); in define_rect()
122 rect->x0 = util_format_get_nblocksx(pt->format, x) << mt->ms_x; in define_rect()
124 rect->x1 = rect->x0 + (util_format_get_nblocksx(pt->format, w) << mt->ms_x); in define_rect()
299 tx->base.stride = align(util_format_get_nblocksx(pt->format, box->width) * in nv30_miptree_transfer_map()
304 tx->nblocksx = util_format_get_nblocksx(pt->format, box->width); in nv30_miptree_transfer_map()
449 mt->uniform_pitch = util_format_get_nblocksx(pt->format, w) * blocksz; in nv30_miptree_create()
473 unsigned nbx = util_format_get_nblocksx(pt->format, w); in nv30_miptree_create()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c84 return align(util_format_get_nblocksx(format, width), align_to); in align_nblocksx()
329 const unsigned nblocks = util_format_get_nblocksx(pt->format, width); in i9x5_texture_layout_cube()
471 unsigned nblocksx = util_format_get_nblocksx(pt->format, width); in i945_texture_layout_2d()
489 util_format_get_nblocksx(pt->format, u_minify(width, 2)); in i945_texture_layout_2d()
646 const unsigned nblocks = util_format_get_nblocksx(pt->format, width); in i945_texture_layout_cube()
696 util_format_get_nblocksx(pt->format, x), in i945_texture_layout_cube()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute_blit.c673 dstx = util_format_get_nblocksx(dst_format, dstx); in si_compute_copy_image()
676 new_box.x = util_format_get_nblocksx(src_format, src_box->x); in si_compute_copy_image()
679 new_box.width = util_format_get_nblocksx(src_format, src_box->width); in si_compute_copy_image()
696 dstx = util_format_get_nblocksx(src_format, dstx); in si_compute_copy_image()
699 new_box.x = util_format_get_nblocksx(src_format, src_box->x); in si_compute_copy_image()
700 new_box.width = util_format_get_nblocksx(src_format, src_box->width); in si_compute_copy_image()
Dsi_texture.c123 sbox.width = util_format_get_nblocksx(dst->format, sbox.width); in si_copy_from_staging_texture()
124 sbox.height = util_format_get_nblocksx(dst->format, sbox.height); in si_copy_from_staging_texture()
1781 res->width0 = util_format_get_nblocksx(orig->format, box->width); in si_init_temp_resource_from_box()
2104 unsigned nblks_x = util_format_get_nblocksx(tex->format, width); in si_create_surface()
2110 width0 = util_format_get_nblocksx(tex->format, width0); in si_create_surface()
Dsi_descriptors.c816 width = util_format_get_nblocksx(tex->buffer.b.b.format, width); in si_set_shader_image_desc()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_transfer.c36 rect->width = util_format_get_nblocksx(res->format, w); in nv50_m2mf_rect_setup()
38 rect->x = util_format_get_nblocksx(res->format, x); in nv50_m2mf_rect_setup()
403 tx->nblocksx = util_format_get_nblocksx(res->format, box->width); in nv50_miptree_transfer_map()
Dnv50_miptree.c302 unsigned nbx = util_format_get_nblocksx(pt->format, w); in nv50_miptree_init_layout_tiled()
Dnv50_surface.c228 unsigned nx = util_format_get_nblocksx(src->format, src_box->width) in nv50_resource_copy_region()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_miptree.c276 unsigned nbx = util_format_get_nblocksx(pt->format, w); in nvc0_miptree_init_layout_tiled()
388 const unsigned nbx = util_format_get_nblocksx(pt->format, pt->width0); in nvc0_miptree_select_best_modifier()
Dnvc0_transfer.c415 tx->nblocksx = util_format_get_nblocksx(res->format, box->width); in nvc0_miptree_transfer_map()
Dnvc0_tex.c1185 const unsigned nbx = util_format_get_nblocksx(view->format, width); in nvc0_validate_suf()
Dnvc0_surface.c239 unsigned nx = util_format_get_nblocksx(src->format, src_box->width) in nvc0_resource_copy_region()
/third_party/mesa3d/src/util/format/
Du_format.h894 util_format_get_nblocksx(enum pipe_format format, in util_format_get_nblocksx() function
923 return util_format_get_nblocksx(format, width) * util_format_get_nblocksy(format, height); in util_format_get_nblocks()
930 return (size_t)util_format_get_nblocksx(format, width) * util_format_get_blocksize(format); in util_format_get_stride()
/third_party/mesa3d/src/freedreno/fdl/
Dfreedreno_layout.h249 uint32_t nblocksx = util_format_get_nblocksx(layout->format, layout->width0); in fdl_set_pitchalign()
Dfd6_view.c176 width = util_format_get_nblocksx(layout->format, width); in fdl6_view_init()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.c215 stride = util_format_get_nblocksx(texture->format, texture->width0) * in svga_resource_get_handle()
269 nblocksx = util_format_get_nblocksx(texture->format, st->box.w); in svga_texture_transfer_map_dma()
376 nblocksx = util_format_get_nblocksx(texture->format, w); in svga_texture_transfer_map_direct()
1389 nblocksx = util_format_get_nblocksx(texture->format, st->base.box.width); in svga_texture_transfer_map_upload()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_debug_image.c126 util_format_get_nblocksx(texture->format, surface->width), in debug_dump_surface()
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_dump.c511 size = util_format_get_nblocksx(format, box->width ) * util_format_get_blocksize(format) in trace_dump_box_bytes()
/third_party/mesa3d/src/panfrost/lib/
Dpan_layout.c362 … unsigned effective_width = ALIGN_POT(util_format_get_nblocksx(layout->format, width), align_w); in pan_image_layout_init()
/third_party/mesa3d/src/gallium/tests/trivial/
Dcompute.c197 util_format_get_nblocksx(format, w)); in init_tex()
238 util_format_get_nblocksx(tex->format, tex->width0)); in check_tex()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_texture.c122 nblocksx = util_format_get_nblocksx(pt->format, in llvmpipe_texture_layout()