Searched refs:compmask (Results 1 – 9 of 9) sorted by relevance
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_shader.h | 273 uint8_t compmask; member 451 if (so->inputs[i].compmask && so->inputs[i].bary) in ir3_next_varying() 461 uint8_t compmask; member 467 ir3_link_add(struct ir3_shader_linkage *l, uint8_t regid, uint8_t compmask, uint8_t loc) in ir3_link_add() argument 474 l->var[i].compmask = compmask; in ir3_link_add() 476 l->max_loc = MAX2(l->max_loc, loc + util_last_bit(compmask)); in ir3_link_add() 498 fs->inputs[j].compmask, fs->inputs[j].inloc); in ir3_link_shaders()
|
D | ir3_compiler_nir.c | 656 create_input_compmask(struct ir3_block *block, unsigned n, unsigned compmask) in create_input_compmask() argument 664 in->regs[0]->wrmask = compmask; in create_input_compmask() 1899 gl_system_value slot, unsigned compmask, in add_sysval_input_compmask() argument 1908 so->inputs[n].compmask = compmask; in add_sysval_input_compmask() 2916 so->inputs[n].compmask = (1 << ncomp) - 1; in setup_input() 3393 unsigned j, regid = ~0, compmask = 0, maxcomp = 0; in ir3_compile_shader_nir() local 3399 compmask |= (1 << j); in ir3_compile_shader_nir() 3411 if ((so->type == SHADER_FRAGMENT) && compmask && so->inputs[i].bary) { in ir3_compile_shader_nir() 3413 so->inputs[i].compmask = (1 << maxcomp) - 1; in ir3_compile_shader_nir() 3416 so->inputs[i].compmask = compmask; in ir3_compile_shader_nir()
|
D | ir3_shader.c | 83 if (v->inputs[i].compmask) { in fixup_regfootprint() 446 so->inputs[i].compmask, in ir3_shader_disasm() 467 so->inputs[i].compmask, in ir3_shader_disasm()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_program.c | 144 unsigned compmask = in link_stream_out() local 163 ir3_link_add(l, v->outputs[k].regid, compmask, nextloc); in link_stream_out() 168 if (compmask & ~l->var[idx].compmask) { in link_stream_out() 169 l->var[idx].compmask |= compmask; in link_stream_out() 171 l->var[idx].loc + util_last_bit(l->var[idx].compmask)); in link_stream_out() 466 for (j = 0; j < util_last_bit(l.var[i].compmask); j++) in fd5_program_emit() 501 reg |= A5XX_SP_VS_OUT_REG_A_COMPMASK(l.var[j].compmask); in fd5_program_emit() 505 reg |= A5XX_SP_VS_OUT_REG_B_COMPMASK(l.var[j].compmask); in fd5_program_emit() 644 unsigned compmask = s[FS].v->inputs[j].compmask; in fd5_program_emit() local 653 if (compmask & (1 << i)) { in fd5_program_emit() [all …]
|
D | fd5_emit.c | 446 if (vp->inputs[i].compmask) { in fd5_emit_vertex_bufs() 473 OUT_RING(ring, A5XX_VFD_DEST_CNTL_INSTR_WRITEMASK(vp->inputs[i].compmask) | in fd5_emit_vertex_bufs()
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_program.c | 287 reg |= A3XX_SP_VS_OUT_REG_A_COMPMASK(l.var[j].compmask); in fd3_program_emit() 291 reg |= A3XX_SP_VS_OUT_REG_B_COMPMASK(l.var[j].compmask); in fd3_program_emit() 392 unsigned compmask = fp->inputs[j].compmask; in fd3_program_emit() local 401 if (compmask & (1 << i)) { in fd3_program_emit() 425 if (compmask & 0x1) { in fd3_program_emit() 429 if (compmask & 0x2) { in fd3_program_emit() 433 if (compmask & 0x4) { in fd3_program_emit() 438 if (compmask & 0x8) { in fd3_program_emit()
|
D | fd3_emit.c | 373 if (!vp->inputs[i].compmask) in fd3_emit_vertex_bufs() 400 if (vp->inputs[i].compmask) { in fd3_emit_vertex_bufs() 427 A3XX_VFD_DECODE_INSTR_WRITEMASK(vp->inputs[i].compmask) | in fd3_emit_vertex_bufs()
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_program.c | 348 reg |= A4XX_SP_VS_OUT_REG_A_COMPMASK(l.var[j].compmask); in fd4_program_emit() 352 reg |= A4XX_SP_VS_OUT_REG_B_COMPMASK(l.var[j].compmask); in fd4_program_emit() 499 unsigned compmask = s[FS].v->inputs[j].compmask; in fd4_program_emit() local 508 if (compmask & (1 << i)) { in fd4_program_emit() 532 if (compmask & 0x1) { in fd4_program_emit() 536 if (compmask & 0x2) { in fd4_program_emit() 540 if (compmask & 0x4) { in fd4_program_emit() 545 if (compmask & 0x8) { in fd4_program_emit()
|
D | fd4_emit.c | 377 if (!vp->inputs[i].compmask) in fd4_emit_vertex_bufs() 404 if (vp->inputs[i].compmask) { in fd4_emit_vertex_bufs() 432 A4XX_VFD_DECODE_INSTR_WRITEMASK(vp->inputs[i].compmask) | in fd4_emit_vertex_bufs()
|