Lines Matching refs:tmu_writes
46 uint32_t *tmu_writes) in vir_TMU_WRITE_or_count() argument
48 if (tmu_writes) in vir_TMU_WRITE_or_count()
49 (*tmu_writes)++; in vir_TMU_WRITE_or_count()
89 unsigned *tmu_writes) in handle_tex_src() argument
94 assert(tmu_writes || (s_out && p2_unpacked)); in handle_tex_src()
101 if (tmu_writes) in handle_tex_src()
102 (*tmu_writes)++; in handle_tex_src()
110 tmu_writes); in handle_tex_src()
117 tmu_writes); in handle_tex_src()
125 tmu_writes); in handle_tex_src()
131 vir_TMU_WRITE_or_count(c, V3D_QPU_WADDR_TMUB, src, tmu_writes); in handle_tex_src()
137 vir_TMU_WRITE_or_count(c, V3D_QPU_WADDR_TMUB, src, tmu_writes); in handle_tex_src()
138 if (!tmu_writes) { in handle_tex_src()
155 vir_TMU_WRITE_or_count(c, V3D_QPU_WADDR_TMUDREF, src, tmu_writes); in handle_tex_src()
162 if (!tmu_writes) { in handle_tex_src()
177 if (!tmu_writes) { in handle_tex_src()
188 (*tmu_writes)++; in handle_tex_src()
204 unsigned *tmu_writes) in vir_tex_handle_srcs() argument
212 p2_unpacked, s, tmu_writes); in vir_tex_handle_srcs()
219 unsigned tmu_writes = 0; in get_required_tex_tmu_writes() local
220 vir_tex_handle_srcs(c, instr, NULL, NULL, &tmu_writes); in get_required_tex_tmu_writes()
221 return tmu_writes; in get_required_tex_tmu_writes()
252 const unsigned tmu_writes = get_required_tex_tmu_writes(c, instr); in v3d40_vir_emit_tex() local
257 while (tmu_writes > 16 / c->threads) in v3d40_vir_emit_tex()
434 uint32_t *tmu_writes) in vir_image_emit_register_writes() argument
436 if (tmu_writes) in vir_image_emit_register_writes()
437 *tmu_writes = 0; in vir_image_emit_register_writes()
450 vir_TMU_WRITE_or_count(c, V3D_QPU_WADDR_TMUT, src, tmu_writes); in vir_image_emit_register_writes()
456 vir_TMU_WRITE_or_count(c, V3D_QPU_WADDR_TMUT, src_1_1, tmu_writes); in vir_image_emit_register_writes()
457 vir_TMU_WRITE_or_count(c, V3D_QPU_WADDR_TMUR, src_1_2, tmu_writes); in vir_image_emit_register_writes()
470 vir_TMU_WRITE_or_count(c, V3D_QPU_WADDR_TMUI, src, tmu_writes); in vir_image_emit_register_writes()
479 tmu_writes); in vir_image_emit_register_writes()
486 tmu_writes); in vir_image_emit_register_writes()
491 if (!tmu_writes && vir_in_nonuniform_control_flow(c) && in vir_image_emit_register_writes()
497 vir_TMU_WRITE_or_count(c, V3D_QPU_WADDR_TMUSF, src_1_0, tmu_writes); in vir_image_emit_register_writes()
499 if (!tmu_writes && vir_in_nonuniform_control_flow(c) && in vir_image_emit_register_writes()
512 unsigned tmu_writes; in get_required_image_tmu_writes() local
514 &tmu_writes); in get_required_image_tmu_writes()
515 return tmu_writes; in get_required_image_tmu_writes()
581 const uint32_t tmu_writes = in v3d40_vir_emit_image_load_store() local
587 while (tmu_writes > 16 / c->threads) in v3d40_vir_emit_image_load_store()