/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_shader.c | 84 int32_t regid = (v->inputs[i].regid + 3) >> 2; in fixup_regfootprint() local 85 v->info.max_reg = MAX2(v->info.max_reg, regid); in fixup_regfootprint() 89 int32_t regid = (v->outputs[i].regid + 3) >> 2; in fixup_regfootprint() local 90 v->info.max_reg = MAX2(v->info.max_reg, regid); in fixup_regfootprint() 372 if (r != regid(63,0)) in dump_reg() 379 uint32_t regid; in dump_output() local 380 regid = ir3_find_output_regid(so, slot); in dump_output() 381 dump_reg(name, regid); in dump_output() 390 uint8_t regid; in ir3_shader_disasm() local 399 regid = reg->num; in ir3_shader_disasm() [all …]
|
D | ir3_shader.h | 262 uint8_t regid; member 272 uint8_t regid; member 460 uint8_t regid; member 467 ir3_link_add(struct ir3_shader_linkage *l, uint8_t regid, uint8_t compmask, uint8_t loc) in ir3_link_add() argument 473 l->var[i].regid = regid; in ir3_link_add() 497 ir3_link_add(l, vs->outputs[k].regid, in ir3_link_shaders() 508 return so->outputs[j].regid; in ir3_find_output_regid() 509 return regid(63, 0); in ir3_find_output_regid() 518 return so->inputs[j].regid; in ir3_find_sysval_regid() 519 return regid(63, 0); in ir3_find_sysval_regid()
|
D | ir3_compiler_nir.c | 534 instr->regs[0]->num = regid(REG_A0, 0); in create_addr() 579 cond->regs[0]->num = regid(REG_P0, 0); in get_predicate() 738 unsigned r = regid(n + dp / 4, dp % 4); in create_driver_param() 1170 unsigned ubo = regid(ctx->so->constbase.ubo, 0); in emit_intrinsic_load_ubo() 1315 unsigned idx = regid(ctx->so->constbase.ssbo_sizes, 0) + in emit_intrinsic_ssbo_size() 1636 unsigned cb = regid(ctx->so->constbase.image_dims, 0) + in get_image_offset() 1903 unsigned r = regid(so->inputs_count, 0); in add_sysval_input_compmask() 1909 so->inputs[n].regid = r; in add_sysval_input_compmask() 2161 cond->regs[0]->num = regid(REG_P0, 0); in emit_intrinsic() 2812 cond->regs[0]->num = regid(REG_P0, 0); in emit_stream_out() [all …]
|
D | ir3_legalize.c | 143 if (last_rel && (reg->num == regid(REG_A0, 0))) { in legalize_block() 238 ir3_reg_create(baryf, regid(63, 0), 0); in legalize_block() 240 ir3_reg_create(baryf, regid(0, 0), 0); in legalize_block()
|
D | ir3.h | 570 static inline uint32_t regid(int num, int comp) in regid() function 623 if (dst->num == regid(REG_P0, 0)) in is_same_type_mov() 625 if (dst->num == regid(REG_A0, 0)) in is_same_type_mov()
|
D | ir3_cp.c | 554 (instr->regs[0]->num == regid(REG_P0, 0)) && in instr_cp()
|
D | ir3_ra.c | 363 if ((reg->num == regid(REG_A0, 0)) || in is_temp() 364 (reg->num == regid(REG_P0, 0))) in is_temp()
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_emit.c | 59 uint32_t regid, uint32_t offset, uint32_t sizedwords, in fd3_emit_const() argument 65 debug_assert((regid % 4) == 0); in fd3_emit_const() 77 OUT_RING(ring, CP_LOAD_STATE_0_DST_OFF(regid/2) | in fd3_emit_const() 97 uint32_t regid, uint32_t num, struct pipe_resource **prscs, uint32_t *offsets) in fd3_emit_const_bo() argument 102 debug_assert((regid % 4) == 0); in fd3_emit_const_bo() 105 OUT_RING(ring, CP_LOAD_STATE_0_DST_OFF(regid/2) | in fd3_emit_const_bo() 367 unsigned vertex_regid = regid(63, 0); in fd3_emit_vertex_bufs() 368 unsigned instance_regid = regid(63, 0); in fd3_emit_vertex_bufs() 369 unsigned vtxcnt_regid = regid(63, 0); in fd3_emit_vertex_bufs() 381 vertex_regid = vp->inputs[i].regid; in fd3_emit_vertex_bufs() [all …]
|
D | fd3_program.c | 242 COND(fp->frag_coord, A3XX_HLSQ_CONTROL_1_REG_FRAGCOORDXYREGID(regid(0,0)) | in fd3_program_emit() 243 A3XX_HLSQ_CONTROL_1_REG_FRAGCOORDZWREGID(regid(0,2)))); in fd3_program_emit() 286 reg |= A3XX_SP_VS_OUT_REG_A_REGID(l.var[j].regid); in fd3_program_emit() 290 reg |= A3XX_SP_VS_OUT_REG_B_REGID(l.var[j].regid); in fd3_program_emit()
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_emit.c | 54 uint32_t regid, uint32_t offset, uint32_t sizedwords, in fd4_emit_const() argument 60 debug_assert((regid % 4) == 0); in fd4_emit_const() 72 OUT_RING(ring, CP_LOAD_STATE4_0_DST_OFF(regid/4) | in fd4_emit_const() 92 uint32_t regid, uint32_t num, struct pipe_resource **prscs, uint32_t *offsets) in fd4_emit_const_bo() argument 97 debug_assert((regid % 4) == 0); in fd4_emit_const_bo() 100 OUT_RING(ring, CP_LOAD_STATE4_0_DST_OFF(regid/4) | in fd4_emit_const_bo() 371 unsigned vertex_regid = regid(63, 0); in fd4_emit_vertex_bufs() 372 unsigned instance_regid = regid(63, 0); in fd4_emit_vertex_bufs() 373 unsigned vtxcnt_regid = regid(63, 0); in fd4_emit_vertex_bufs() 385 vertex_regid = vp->inputs[i].regid; in fd4_emit_vertex_bufs() [all …]
|
D | fd4_program.c | 232 if (pos_regid == regid(63, 0)) { in fd4_program_emit() 237 pos_regid = regid(0, 0); in fd4_program_emit() 257 face_regid = s[FS].v->frag_face ? regid(0,0) : regid(63,0); in fd4_program_emit() 258 coord_regid = s[FS].v->frag_coord ? regid(0,0) : regid(63,0); in fd4_program_emit() 259 zwcoord_regid = s[FS].v->frag_coord ? regid(0,2) : regid(63,0); in fd4_program_emit() 347 reg |= A4XX_SP_VS_OUT_REG_A_REGID(l.var[j].regid); in fd4_program_emit() 351 reg |= A4XX_SP_VS_OUT_REG_B_REGID(l.var[j].regid); in fd4_program_emit()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_program.c | 156 if (l->var[idx].regid == v->outputs[k].regid) in link_stream_out() 163 ir3_link_add(l, v->outputs[k].regid, compmask, nextloc); in link_stream_out() 200 if (l->var[idx].regid == v->outputs[k].regid) in emit_stream_out() 363 face_regid = s[FS].v->frag_face ? regid(0,0) : regid(63,0); in fd5_program_emit() 364 coord_regid = s[FS].v->frag_coord ? regid(0,0) : regid(63,0); in fd5_program_emit() 365 zwcoord_regid = s[FS].v->frag_coord ? regid(0,2) : regid(63,0); in fd5_program_emit() 366 vcoord_regid = (s[FS].v->total_in > 0) ? s[FS].v->pos_regid : regid(63,0); in fd5_program_emit() 476 if (pos_regid != regid(63,0)) in fd5_program_emit() 479 if (psize_regid != regid(63,0)) { in fd5_program_emit() 500 reg |= A5XX_SP_VS_OUT_REG_A_REGID(l.var[j].regid); in fd5_program_emit() [all …]
|
D | fd5_emit.c | 54 uint32_t regid, uint32_t offset, uint32_t sizedwords, in fd5_emit_const() argument 60 debug_assert((regid % 4) == 0); in fd5_emit_const() 72 OUT_RING(ring, CP_LOAD_STATE4_0_DST_OFF(regid/4) | in fd5_emit_const() 93 uint32_t regid, uint32_t num, struct pipe_resource **prscs, uint32_t *offsets) in fd5_emit_const_bo() argument 98 debug_assert((regid % 4) == 0); in fd5_emit_const_bo() 101 OUT_RING(ring, CP_LOAD_STATE4_0_DST_OFF(regid/4) | in fd5_emit_const_bo() 474 A5XX_VFD_DEST_CNTL_INSTR_REGID(vp->inputs[i].regid)); in fd5_emit_vertex_bufs() 667 A5XX_SP_FS_OUTPUT_CNTL_SAMPLEMASK_REGID(regid(63, 0))); in fd5_emit_state()
|
D | fd5_compute.c | 115 A5XX_HLSQ_CS_CNTL_0_UNK0(regid(63, 0)) | in cs_program_emit() 116 A5XX_HLSQ_CS_CNTL_0_UNK1(regid(63, 0)) | in cs_program_emit()
|
/external/autotest/client/site_tests/kernel_CheckArmErrata/ |
D | kernel_CheckArmErrata.py | 134 _, _, regid, val = line.split(":") 135 regid_to_val[regid.strip()] = int(val, 0)
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_context.h | 316 uint32_t regid, uint32_t offset, uint32_t sizedwords, 320 uint32_t regid, uint32_t num, struct pipe_resource **prscs, uint32_t *offsets);
|
/external/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_valtable.cpp | 330 value* sb_value_pool::create(value_kind k, sel_chan regid, in create() argument 333 value *v = new (np) value(size(), k, regid, ver); in create()
|
D | sb_shader.cpp | 246 value* shader::create_value(value_kind k, sel_chan regid, unsigned ver) { in create_value() argument 247 value *v = val_pool.create(k, regid, ver); in create_value()
|
D | sb_shader.h | 409 value* create_value(value_kind k, sel_chan regid, unsigned ver);
|
D | sb_ir.h | 295 value* create(value_kind k, sel_chan regid, unsigned ver);
|