Home
last modified time | relevance | path

Searched refs:ROUND_DOWN_TO (Results 1 – 24 of 24) sorted by relevance

/third_party/mesa3d/src/intel/common/
Dintel_urb_config.c219 entries[i] = ROUND_DOWN_TO(entries[i], granularity[i]); in intel_get_urb_config()
361 r.task_entries = ROUND_DOWN_TO(r.task_entries, 8); in intel_get_mesh_urb_config()
373 r.mesh_entries = ROUND_DOWN_TO(r.mesh_entries, 8); in intel_get_mesh_urb_config()
Dintel_batch_decoder.c178 bo.map + ROUND_DOWN_TO(MIN2(bo.size, read_length), 4); in ctx_print_buffer()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_mempool.c143 offset = ROUND_DOWN_TO(aligned - sz, alignment); in panfrost_pool_alloc_aligned()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_analyze_ubo_ranges.c170 const int start = ROUND_DOWN_TO(byte_offset, 32); in analyze_ubos_block()
Dbrw_fs_reg_allocate.cpp1094 ROUND_DOWN_TO(inst->src[i].offset, REG_SIZE); in spill_reg()
1123 ROUND_DOWN_TO(inst->dst.offset, REG_SIZE); in spill_reg()
Dbrw_compiler.h2029 return ROUND_DOWN_TO(i, 2); in brw_compute_first_urb_slot_required()
Dbrw_vec4_nir.cpp591 src.offset = ROUND_DOWN_TO(offset, 16); in nir_emit_intrinsic()
Dbrw_fs.cpp5984 ROUND_DOWN_TO(max_push_components / nir->info.gs.vertices_in, 8) / 8; in setup_gs_payload()
/third_party/mesa3d/src/util/
Du_math.h692 ROUND_DOWN_TO(uint64_t value, int32_t alignment) in ROUND_DOWN_TO() function
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_analyze_ubo_ranges.c49 r->start = ROUND_DOWN_TO(offset, alignment * 16); in get_ubo_load_range()
/third_party/mesa3d/src/intel/blorp/
Dblorp_blit.c1990 params->x0 = ROUND_DOWN_TO(params->x0, 2) * px_size_sa.width; in try_blorp_blit()
1991 params->y0 = ROUND_DOWN_TO(params->y0, 2) * px_size_sa.height; in try_blorp_blit()
2051 params->x0 = ROUND_DOWN_TO(params->x0, x_align) * 2; in try_blorp_blit()
2052 params->y0 = ROUND_DOWN_TO(params->y0, y_align) / 2; in try_blorp_blit()
Dblorp_clear.c441 *x0 = ROUND_DOWN_TO(*x0, x_align) / x_scaledown; in get_fast_clear_rect()
442 *y0 = ROUND_DOWN_TO(*y0, y_align) / y_scaledown; in get_fast_clear_rect()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_gmem.c969 blit_scissor.minx = ROUND_DOWN_TO(blit_scissor.minx, 16); in set_blit_scissor()
970 blit_scissor.miny = ROUND_DOWN_TO(blit_scissor.miny, 4); in set_blit_scissor()
/third_party/mesa3d/docs/relnotes/
D7.10.3.rst185 - intel: Fix ROUND_DOWN_TO macro
D20.1.0.rst3714 - util: move ALIGN/ROUND_DOWN_TO to u_math.h
D21.2.0.rst4752 - util/math: change ROUND_DOWN_TO to return a uint64_t
/third_party/mesa3d/src/intel/isl/
Disl_tiled_memcpy.c47 #define ALIGN_DOWN(a, b) ROUND_DOWN_TO(a, b)
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_device.c727 ROUND_DOWN_TO(max_common_size, in pvr_calc_fscommon_size_and_tiles_in_flight()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_texture.c1371 unsigned level_base = ROUND_DOWN_TO(surface->u.gfx9.prt_level_offset[level], in si_texture_commit()
/third_party/mesa3d/src/amd/compiler/
Daco_register_allocation.cpp426 for (int i = 0; i < std::min<int>(max_regs_per_line, ROUND_DOWN_TO(regs.size, 4)); i += 4) { in print_regs()
Daco_instruction_selection.cpp7619 bld.copy(bld.def(s1), Operand::c32(ROUND_DOWN_TO(nir_src_as_uint(instr->src[0]), max))); in visit_load_scratch()
7676 saddr = bld.copy(bld.def(s1), Operand::c32(ROUND_DOWN_TO(const_offset, max))); in visit_store_scratch()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_state.c8940 ice->urb.nr_vs_entries = ROUND_DOWN_TO(nr_vs_entries, 4);
8941 ice->urb.nr_gs_entries = ROUND_DOWN_TO(nr_gs_entries, 4);
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c2640 size = ROUND_DOWN_TO(size, 4); in handle_fill_buffer()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c2734 vram_vis_free_space = ROUND_DOWN_TO(MIN2((total_free_space * 2) / 3, vram_vis_free_space), in radv_get_memory_budget_properties()