Home
last modified time | relevance | path

Searched refs:compmask (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_shader.h273 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()
Dir3_compiler_nir.c656 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()
Dir3_shader.c83 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/
Dfd5_program.c144 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 …]
Dfd5_emit.c446 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/
Dfd3_program.c287 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()
Dfd3_emit.c373 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/
Dfd4_program.c348 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()
Dfd4_emit.c377 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()