/external/mesa3d/src/freedreno/ir3/ |
D | ir3_nir_analyze_ubo_ranges.c | 295 int const_offset = 0; in lower_ubo_load_to_uniform() local 297 handle_partial_const(b, &ubo_offset, &const_offset); in lower_ubo_load_to_uniform() 315 debug_assert(!(const_offset & 0x3)); in lower_ubo_load_to_uniform() 316 const_offset >>= 2; in lower_ubo_load_to_uniform() 319 const_offset += range_offset; in lower_ubo_load_to_uniform() 327 if (const_offset < 0) { in lower_ubo_load_to_uniform() 328 uniform_offset = nir_iadd_imm(b, uniform_offset, const_offset); in lower_ubo_load_to_uniform() 329 const_offset = 0; in lower_ubo_load_to_uniform() 336 nir_intrinsic_set_base(uniform, const_offset); in lower_ubo_load_to_uniform()
|
/external/mesa3d/src/compiler/glsl/ |
D | lower_ubo_reference.cpp | 66 unsigned *const_offset, 278 unsigned *const_offset, in setup_for_load_or_store() argument 317 *const_offset = 0; in setup_for_load_or_store() 319 *const_offset = blocks[i]->Uniforms[var->data.location].Offset; in setup_for_load_or_store() 329 setup_buffer_access(mem_ctx, deref, offset, const_offset, row_major, in setup_for_load_or_store() 350 unsigned const_offset; in handle_rvalue() local 367 &offset, &const_offset, in handle_rvalue() 388 emit_access(mem_ctx, false, deref, load_offset, const_offset, in handle_rvalue() 566 unsigned const_offset; in write_to_memory() local 581 &offset, &const_offset, in write_to_memory() [all …]
|
D | lower_shared_reference.cpp | 141 unsigned const_offset = get_shared_offset(var); in handle_rvalue() local 148 &offset, &const_offset, in handle_rvalue() 168 emit_access(mem_ctx, false, deref, load_offset, const_offset, row_major, in handle_rvalue() 209 unsigned const_offset = get_shared_offset(var); in handle_assignment() local 216 &offset, &const_offset, in handle_assignment() 228 emit_access(mem_ctx, true, deref, store_offset, const_offset, row_major, in handle_assignment() 369 unsigned const_offset = get_shared_offset(var); in lower_shared_atomic_intrinsic() local 377 &offset, &const_offset, in lower_shared_atomic_intrinsic() 385 add(offset, new(mem_ctx) ir_constant(const_offset)); in lower_shared_atomic_intrinsic()
|
D | lower_buffer_access.cpp | 276 unsigned *const_offset, in setup_buffer_access() argument 359 *const_offset += array_stride * const_index->value.u[0]; in setup_buffer_access() 424 *const_offset += intra_struct_offset; in setup_buffer_access() 434 *const_offset += deref_swizzle->mask.x * sizeof(int); in setup_buffer_access()
|
D | lower_buffer_access.h | 58 ir_rvalue **offset, unsigned *const_offset,
|
/external/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_emitssboinstruction.cpp | 582 auto const_offset = nir_src_as_const_value(intrin->src[0]); in emit_image_size() local 585 if (const_offset) in emit_image_size() 586 res_id += const_offset[0].u32; in emit_image_size() 603 unsigned lookup_resid = const_offset[0].u32; in emit_image_size() 625 auto const_offset = nir_src_as_const_value(intr->src[0]); in emit_buffer_size() local 628 if (const_offset) in emit_buffer_size() 629 res_id += const_offset[0].u32; in emit_buffer_size()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | gen6_constant_state.c | 257 uint32_t const_offset; in brw_upload_pull_constants() local 259 &const_bo, &const_offset); in brw_upload_pull_constants() 276 const_bo, const_offset, in brw_upload_pull_constants()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_nir_lower_mem_access_bit_sizes.c | 182 const unsigned const_offset = in lower_mem_store_bit_size() local 209 (offset_is_const && (start + const_offset) % 4 == 0); in lower_mem_store_bit_size()
|
D | brw_fs.h | 120 uint32_t const_offset,
|
D | brw_fs_nir.cpp | 3628 nir_const_value *const_offset = nir_src_as_const_value(instr->src[0]); in nir_emit_fs_intrinsic() local 3630 if (const_offset) { in nir_emit_fs_intrinsic() 3632 unsigned off_x = MIN2((int)(const_offset[0].f32 * 16), 7) & 0xf; in nir_emit_fs_intrinsic() 3633 unsigned off_y = MIN2((int)(const_offset[1].f32 * 16), 7) & 0xf; in nir_emit_fs_intrinsic()
|
D | brw_fs.cpp | 169 uint32_t const_offset, in VARYING_PULL_CONSTANT_LOAD() argument 184 bld.ADD(vec4_offset, varying_offset, brw_imm_ud(const_offset & ~0xf)); in VARYING_PULL_CONSTANT_LOAD() 199 (const_offset & 0xf) / type_sz(dst.type), 1); in VARYING_PULL_CONSTANT_LOAD()
|
/external/mesa3d/src/broadcom/compiler/ |
D | nir_to_vir.c | 256 uint32_t const_offset = 0; in ntq_emit_tmu_general() local 258 const_offset = nir_src_as_uint(instr->src[offset_src]); in ntq_emit_tmu_general() 262 const_offset += nir_intrinsic_base(instr); in ntq_emit_tmu_general() 264 v3d_unit_data_create(0, const_offset)); in ntq_emit_tmu_general() 265 const_offset = 0; in ntq_emit_tmu_general() 276 v3d_unit_data_create(index, const_offset)); in ntq_emit_tmu_general() 277 const_offset = 0; in ntq_emit_tmu_general() 288 const_offset += nir_intrinsic_base(instr); in ntq_emit_tmu_general() 298 uint32_t base_const_offset = const_offset; in ntq_emit_tmu_general() 330 const_offset = base_const_offset + first_component * 4; in ntq_emit_tmu_general() [all …]
|
/external/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 2827 nir_const_value* const_offset = nir_src_as_const_value(instr->src[1].src); in visit_alu_instr() local 2829 if (const_offset && const_bits) { in visit_alu_instr() 2830 uint32_t extract = (const_bits->u32 << 16) | (const_offset->u32 & 0x1f); in visit_alu_instr() 2845 Operand offset_op = const_offset ? Operand(const_offset->u32 & 0x1fu) : in visit_alu_instr() 3018 unsigned const_offset = 0; member 3032 unsigned align, unsigned const_offset, 3050 unsigned const_offset = info.const_offset; in emit_load() local 3053 unsigned align_offset = (info.align_offset + const_offset) % align_mul; in emit_load() 3091 unsigned reduced_const_offset = const_offset; in emit_load() 3093 if (const_offset && in emit_load() [all …]
|
/external/rust/crates/memoffset/src/ |
D | offset_of.rs | 245 fn const_offset() { in const_offset() function
|
/external/llvm-project/lldb/source/Expression/ |
D | DWARFExpression.cpp | 538 lldb::offset_t const_offset = 0; in LinkThreadLocalStorage() local 549 const_offset = offset; in LinkThreadLocalStorage() 558 const_offset = offset; in LinkThreadLocalStorage() 581 if (encoder.PutUnsigned(const_offset, const_byte_size, in LinkThreadLocalStorage() 588 const_offset = 0; in LinkThreadLocalStorage()
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | ir2_nir.c | 591 nir_const_value *const_offset; in emit_intrinsic() local 602 const_offset = nir_src_as_const_value(intr->src[0]); in emit_intrinsic() 603 assert(const_offset); /* TODO can be false in ES2? */ in emit_intrinsic()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_nir.c | 1028 uint32_t const_offset = 0; in get_deref_offset() local 1033 const_offset = nir_src_as_uint(instr->arr.index); in get_deref_offset() 1044 const_offset += glsl_count_attribute_slots(ft, vs_in); in get_deref_offset() 1049 const_offset += nir_src_comp_as_int(path.path[idx_lvl]->arr.index, 0) * size; in get_deref_offset() 1067 if (const_offset && offset) in get_deref_offset() 1069 … lp_build_const_int_vec(bld_base->base.gallivm, bld_base->uint_bld.type, const_offset), in get_deref_offset() 1071 *const_out = const_offset; in get_deref_offset()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_tgsi.cpp | 2026 unsigned const_offset = const_offset_ir ? in visit_expression() local 2046 cbuf.index = const_offset / 16; in visit_expression() 2069 const_offset = const_offset_ir->value.u[0]; in visit_expression() 2070 cbuf.index = const_offset / 16; in visit_expression() 2095 cbuf.swizzle += MAKE_SWIZZLE4(const_offset % 16 / 8, in visit_expression() 2096 const_offset % 16 / 8, in visit_expression() 2097 const_offset % 16 / 8, in visit_expression() 2098 const_offset % 16 / 8); in visit_expression() 2100 cbuf.swizzle += MAKE_SWIZZLE4(const_offset % 16 / 4, in visit_expression() 2101 const_offset % 16 / 4, in visit_expression() [all …]
|
/external/mesa3d/src/panfrost/bifrost/ |
D | bifrost_compile.c | 433 uint32_t const_offset = 0; in bi_emit_ld_ubo() local 436 const_offset = nir_src_as_uint(instr->src[1]); in bi_emit_ld_ubo() 442 const_offset += 16 * ctx->sysvals.sysval_count; in bi_emit_ld_ubo() 470 ld.constant.u64 |= const_offset; in bi_emit_ld_ubo()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state.h | 510 unsigned size, uint32_t *const_offset);
|
D | si_descriptors.c | 1085 unsigned size, uint32_t *const_offset) in si_upload_const_buffer() argument 1090 const_offset, (struct pipe_resource **)buf, &tmp); in si_upload_const_buffer()
|
/external/mesa3d/docs/relnotes/ |
D | 19.1.0.rst | 2742 - iris: have more than one const_offset
|
D | 20.2.0.rst | 4005 - freedreno/ir3: don't allow negative const_offset
|