Searched refs:aligned_offset (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_nir_lower_ubo_loads.c | 59 uint64_t aligned_offset = offset - suboffset; in lower_ubo_load_instr() local 66 pred = nir_ilt(b, nir_imm_int(b, aligned_offset + i * 64 + 63), in lower_ubo_load_instr() 73 aligned_offset + i * 64); in lower_ubo_load_instr()
|
/third_party/libdrm/radeon/ |
D | radeon_surface.c | 1626 uint64_t aligned_offset = offset; in si_surface_init_2d() local 1654 if (aligned_offset) { in si_surface_init_2d() 1655 aligned_offset = ALIGN(aligned_offset, alignment); in si_surface_init_2d() 1662 … si_surf_minify_2d(surf, level+i, bpe, i, slice_pt, mtilew, mtileh, 1, mtileb, aligned_offset); in si_surface_init_2d() 1684 aligned_offset = offset = surf->bo_size; in si_surface_init_2d() 1686 aligned_offset = ALIGN(aligned_offset, surf->bo_alignment); in si_surface_init_2d() 2223 uint64_t aligned_offset = offset; in cik_surface_init_2d() local 2256 if (aligned_offset) { in cik_surface_init_2d() 2257 aligned_offset = ALIGN(aligned_offset, alignment); in cik_surface_init_2d() 2264 … si_surf_minify_2d(surf, level+i, bpe, i, slice_pt, mtilew, mtileh, 1, mtileb, aligned_offset); in cik_surface_init_2d() [all …]
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_vec4_nir.cpp | 640 unsigned aligned_offset = load_offset & ~15; in nir_emit_intrinsic() local 641 offset_reg = brw_imm_ud(aligned_offset); in nir_emit_intrinsic() 646 const unsigned offset_256b = aligned_offset / 32; in nir_emit_intrinsic() 656 push_reg.offset = aligned_offset - 32 * range->start; in nir_emit_intrinsic()
|
D | brw_nir.c | 1674 uint64_t aligned_offset = offset - suboffset; in brw_nir_load_global_const() local 1679 nir_ssa_def *addr = nir_iadd_imm(b, base_addr, aligned_offset + i * 64); in brw_nir_load_global_const()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 4104 Operand aligned_offset = offset; in emit_load() local 4110 aligned_offset = Operand::c32(offset.constantValue() & 0xfffffffcu); in emit_load() 4112 aligned_offset = bld.sop2(aco_opcode::s_and_b32, bld.def(s1), bld.def(s1, scc), in emit_load() 4115 aligned_offset = bld.sop2(aco_opcode::s_and_b64, bld.def(s2), bld.def(s1, scc), in emit_load() 4118 aligned_offset = in emit_load() 4124 aligned_offset = bld.pseudo(aco_opcode::p_create_vector, bld.def(v2), lo, hi); in emit_load() 4128 aligned_offset.isTemp() ? aligned_offset.getTemp() : bld.copy(bld.def(s1), aligned_offset); in emit_load()
|