Home
last modified time | relevance | path

Searched refs:util_align_npot (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/freedreno/vulkan/
Dtu_util.c81 .width = util_align_npot(fb->width, tile_align_w), in tu_tiling_config_update_tile_layout()
95 tiling->tile0.width = util_align_npot(DIV_ROUND_UP(fb->width, 2), tile_align_w); in tu_tiling_config_update_tile_layout()
103 util_align_npot(DIV_ROUND_UP(fb->width, tiling->tile_count.width), tile_align_w); in tu_tiling_config_update_tile_layout()
110 util_align_npot(DIV_ROUND_UP(fb->height, tiling->tile_count.height), tile_align_h); in tu_tiling_config_update_tile_layout()
118 util_align_npot(DIV_ROUND_UP(fb->width, tiling->tile_count.width), tile_align_w); in tu_tiling_config_update_tile_layout()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_texture_desc.c311 return (util_align_npot(stride, xblock) * align(height, yblock)) / (xblock * yblock); in r300_pixels_to_dwords()
388 util_align_npot(stride, zmask_blocks_x_per_dw[pipes-1] * zcompsize); in r300_setup_hyperz_properties()
396 stride = util_align_npot(stride, hiz_align_x[pipes-1]); in r300_setup_hyperz_properties()
463 util_align_npot(stride, cmask_align_x[pipes-1]); in r300_setup_cmask_properties()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_gmem.c167 return util_align_npot(DIV_ROUND_UP(num, denom), al); in div_align()
202 gmem->cbuf_base[i] = util_align_npot(total, gmem_align); in layout_gmem()
208 gmem->zsbuf_base[0] = util_align_npot(total, gmem_align); in layout_gmem()
213 gmem->zsbuf_base[1] = util_align_npot(total, gmem_align); in layout_gmem()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_tess.c201 uint32_t old_verts = util_align_npot(vert_start, 16); in draw_tess_ctrl_shader_run()
202 uint32_t new_verts = util_align_npot(output_verts->count, 16); in draw_tess_ctrl_shader_run()
375 uint32_t new_verts = vert_start + util_align_npot(data.num_domain_points, 4); in draw_tess_eval_shader_run()
Ddraw_llvm.c3429 unsigned count_align = util_align_npot(variant->shader->base.vertices_out, tcs_type.length); in draw_tcs_llvm_generate()
/third_party/mesa3d/src/util/
Du_math.h717 util_align_npot(size_t value, size_t alignment) in util_align_npot() function
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_prim_vbuf.c220 offset = util_align_npot(offset, vertex_size); in i915_vbuf_render_allocate_vertices()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_texture.c186 *layersOut = util_align_npot(depthIn, 6); in st_gl_texture_dims_to_pipe_dims()
/third_party/mesa3d/src/gallium/frontends/clover/core/
Dkernel.cpp338 v.resize(util_align_npot(v.size(), n)); in align()