Home
last modified time | relevance | path

Searched refs:aligned_offset (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/intel/vulkan/
Danv_nir_lower_ubo_loads.c59 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/
Dradeon_surface.c1626 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/
Dbrw_vec4_nir.cpp640 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()
Dbrw_nir.c1674 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/
Daco_instruction_selection.cpp4104 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()