Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_program.c259 reg |= A3XX_SP_VS_OUT_REG_A_COMPMASK(l.var[j].compmask); in fd3_program_emit()
263 reg |= A3XX_SP_VS_OUT_REG_B_COMPMASK(l.var[j].compmask); in fd3_program_emit()
366 unsigned compmask = fp->inputs[j].compmask; in fd3_program_emit() local
375 if (compmask & (1 << i)) { in fd3_program_emit()
392 if (compmask & 0x1) { in fd3_program_emit()
396 if (compmask & 0x2) { in fd3_program_emit()
400 if (compmask & 0x4) { in fd3_program_emit()
405 if (compmask & 0x8) { in fd3_program_emit()
Dfd3_emit.c389 if (!vp->inputs[i].compmask) in fd3_emit_vertex_bufs()
413 if (vp->inputs[i].compmask) { in fd3_emit_vertex_bufs()
443 A3XX_VFD_DECODE_INSTR_WRITEMASK(vp->inputs[i].compmask) | in fd3_emit_vertex_bufs()
452 total_in += util_bitcount(vp->inputs[i].compmask); in fd3_emit_vertex_bufs()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_shader.h624 uint8_t compmask; member
999 if (so->inputs[i].compmask && so->inputs[i].bary) in ir3_next_varying()
1022 uint8_t compmask; member
1038 uint8_t compmask, uint8_t loc) in ir3_link_add() argument
1040 for (int j = 0; j < util_last_bit(compmask); j++) { in ir3_link_add()
1045 l->max_loc = MAX2(l->max_loc, loc + util_last_bit(compmask)); in ir3_link_add()
1053 l->var[i].compmask = compmask; in ir3_link_add()
1107 fs->inputs[j].compmask, fs->inputs[j].inloc); in ir3_link_shaders()
Dir3_shader.c80 if (v->inputs[i].compmask) { in fixup_regfootprint()
81 unsigned n = util_last_bit(v->inputs[i].compmask) - 1; in fixup_regfootprint()
844 so->inputs[i].compmask, so->inputs[i].inloc, so->inputs[i].bary); in ir3_shader_disasm()
938 unsigned compmask = in ir3_link_stream_out() local
958 compmask, nextloc); in ir3_link_stream_out()
964 if (compmask & ~l->var[idx].compmask) { in ir3_link_stream_out()
965 l->var[idx].compmask |= compmask; in ir3_link_stream_out()
967 l->max_loc, l->var[idx].loc + util_last_bit(l->var[idx].compmask)); in ir3_link_stream_out()
Dir3_compiler_nir.c64 create_input(struct ir3_context *ctx, unsigned compmask) in create_input() argument
70 __ssa_dst(in)->wrmask = compmask; in create_input()
1728 unsigned compmask, struct ir3_instruction *instr) in add_sysval_input_compmask() argument
1739 so->inputs[n].compmask = compmask; in add_sysval_input_compmask()
1742 so->sysval_in += util_last_bit(compmask); in add_sysval_input_compmask()
1747 unsigned compmask) in create_sysval_input() argument
1749 assert(compmask); in create_sysval_input()
1750 struct ir3_instruction *sysval = create_input(ctx, compmask); in create_sysval_input()
1751 add_sysval_input_compmask(ctx, slot, compmask, sysval); in create_sysval_input()
3926 unsigned compmask; in setup_input() local
[all …]
Dir3_parser.y230 static void add_sysval(unsigned reg, unsigned compmask, gl_system_value sysval) in add_sysval() argument
236 variant->inputs[n].compmask = compmask; in add_sysval()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_program.c324 reg |= A4XX_SP_VS_OUT_REG_A_COMPMASK(l.var[j].compmask); in fd4_program_emit()
328 reg |= A4XX_SP_VS_OUT_REG_B_COMPMASK(l.var[j].compmask); in fd4_program_emit()
506 unsigned compmask = s[FS].v->inputs[j].compmask; in fd4_program_emit() local
515 if (compmask & (1 << i)) { in fd4_program_emit()
533 if (compmask & 0x1) { in fd4_program_emit()
537 if (compmask & 0x2) { in fd4_program_emit()
541 if (compmask & 0x4) { in fd4_program_emit()
546 if (compmask & 0x8) { in fd4_program_emit()
Dfd4_emit.c534 if (!vp->inputs[i].compmask) in fd4_emit_vertex_bufs()
558 if (vp->inputs[i].compmask) { in fd4_emit_vertex_bufs()
588 A4XX_VFD_DECODE_INSTR_WRITEMASK(vp->inputs[i].compmask) | in fd4_emit_vertex_bufs()
597 total_in += util_bitcount(vp->inputs[i].compmask); in fd4_emit_vertex_bufs()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_program.c461 reg |= A5XX_SP_VS_OUT_REG_A_COMPMASK(l.var[j].compmask); in fd5_program_emit()
465 reg |= A5XX_SP_VS_OUT_REG_B_COMPMASK(l.var[j].compmask); in fd5_program_emit()
640 unsigned compmask = s[FS].v->inputs[j].compmask; in fd5_program_emit() local
649 if (compmask & (1 << i)) { in fd5_program_emit()
667 if (compmask & 0x1) { in fd5_program_emit()
671 if (compmask & 0x2) { in fd5_program_emit()
675 if (compmask & 0x4) { in fd5_program_emit()
680 if (compmask & 0x8) { in fd5_program_emit()
Dfd5_emit.c481 if (vp->inputs[i].compmask) { in fd5_emit_vertex_bufs()
512 A5XX_VFD_DEST_CNTL_INSTR_WRITEMASK(vp->inputs[i].compmask) | in fd5_emit_vertex_bufs()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_program.c665 reg |= A6XX_SP_VS_OUT_REG_A_COMPMASK(l.var[j].compmask); in setup_stateobj()
669 reg |= A6XX_SP_VS_OUT_REG_B_COMPMASK(l.var[j].compmask); in setup_stateobj()
1094 assert(vs->inputs[i].compmask); in setup_stateobj()
1096 A6XX_VFD_DEST_CNTL_INSTR_WRITEMASK(vs->inputs[i].compmask) | in setup_stateobj()
1176 unsigned compmask = fs->inputs[j].compmask; in emit_interp_state() local
1184 if (compmask & (1 << i)) { in emit_interp_state()
1200 if (compmask & 0x1) { in emit_interp_state()
1204 if (compmask & 0x2) { in emit_interp_state()
1208 if (compmask & 0x4) { in emit_interp_state()
1213 if (compmask & 0x8) { in emit_interp_state()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c1122 A6XX_SP_VS_OUT_REG_A_COMPMASK(linkage.var[i].compmask); in tu6_emit_vpc()
1319 const uint32_t compmask = fs->inputs[index].compmask; in tu6_vpc_varying_mode() local
1328 if (compmask & 0x1) { in tu6_vpc_varying_mode()
1332 if (compmask & 0x2) { in tu6_vpc_varying_mode()
1336 if (compmask & 0x4) { in tu6_vpc_varying_mode()
1340 if (compmask & 0x8) { in tu6_vpc_varying_mode()
1346 if (compmask & (1 << i)) { in tu6_vpc_varying_mode()
1903 .writemask = vs->inputs[input_idx].compmask, in tu6_emit_vertex_input()