/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_const.h | 71 assert(regid + sizedwords <= v->constlen * 4); in emit_const_asserts() 131 if (16 * v->constlen <= state->range[i].offset) in ir3_emit_constant_data() 137 size = MIN2(size, (16 * v->constlen) - state->range[i].offset); in ir3_emit_constant_data() 177 if (16 * v->constlen <= state->range[i].offset) in ir3_emit_user_consts() 183 size = MIN2(size, (16 * v->constlen) - state->range[i].offset); in ir3_emit_user_consts() 216 if (v->constlen > offset) { in ir3_emit_ubos() 250 assert(offset * 4 + params <= v->constlen * 4); in ir3_emit_ubos() 264 if (v->constlen > offset) { in ir3_emit_image_dims() 304 uint32_t size = MIN2(ARRAY_SIZE(dims), v->constlen * 4 - offset * 4); in ir3_emit_image_dims() 322 size = MIN2(size + base, v->constlen) - base; in ir3_emit_immediates() [all …]
|
D | ir3_gallium.c | 93 v->info.max_half_reg + 1, v->info.max_reg + 1, v->constlen, in dump_shader_info() 223 if (v->constlen > compiler->max_const_safe) { in create_initial_variants() 235 if (v->constlen > compiler->max_const_safe) { in create_initial_variants()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_program.c | 85 uint8_t constlen; member 107 assert(s[i].v->constlen % 4 == 0); in setup_stages() 108 s[i].constlen = s[i].v->constlen / 4; in setup_stages() 116 s[i].constlen = 0; in setup_stages() 143 s[VS].constlen = 66; in setup_stages() 144 s[FS].constlen = 128 - s[VS].constlen; in setup_stages() 148 s[FS].constoff = s[VS].constlen; in setup_stages() 251 A4XX_HLSQ_VS_CONTROL_REG_CONSTLENGTH(s[VS].constlen) | in fd4_program_emit() 258 A4XX_HLSQ_FS_CONTROL_REG_CONSTLENGTH(s[FS].constlen) | in fd4_program_emit() 265 A4XX_HLSQ_HS_CONTROL_REG_CONSTLENGTH(s[HS].constlen) | in fd4_program_emit() [all …]
|
D | fd4_compute.c | 73 A4XX_HLSQ_CS_CONTROL_REG_CONSTLENGTH(v->constlen / 4)); in cs_program_emit()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_program.c | 156 constmode = ((vp->constlen + fp->constlen) > 256) ? 1 : 0; in fd3_program_emit() 216 OUT_RING(ring, A3XX_HLSQ_VS_CONTROL_REG_CONSTLENGTH(vp->constlen) | in fd3_program_emit() 219 OUT_RING(ring, A3XX_HLSQ_FS_CONTROL_REG_CONSTLENGTH(fp->constlen) | in fd3_program_emit() 243 A3XX_SP_VS_CTRL_REG1_CONSTLENGTH(vp->constlen) | in fd3_program_emit() 245 A3XX_SP_VS_CTRL_REG1_CONSTFOOTPRINT(MAX2(vp->constlen - 1, 0))); in fd3_program_emit() 315 OUT_RING(ring, A3XX_SP_FS_CTRL_REG1_CONSTLENGTH(fp->constlen) | in fd3_program_emit() 318 MAX2(fp->constlen - 1, 0)) | in fd3_program_emit() 323 MAX2(128, vp->constlen)) | in fd3_program_emit()
|
D | fd3_emit.c | 143 assert(dst_offset + num <= v->constlen * 4); in emit_const_ptrs()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_compute.c | 80 assert(v->constlen % 4 == 0); in cs_program_emit() 81 unsigned constlen = v->constlen / 4; in cs_program_emit() local 83 OUT_RING(ring, constlen); /* HLSQ_CS_CONSTLEN */ in cs_program_emit()
|
D | fd5_program.c | 158 uint8_t constlen; member 180 assert(s[i].v->constlen % 4 == 0); in setup_stages() 181 s[i].constlen = s[i].v->constlen / 4; in setup_stages() 189 s[i].constlen = 0; in setup_stages() 220 constoff += s[i].constlen; in setup_stages() 356 OUT_RING(ring, s[VS].constlen); /* HLSQ_VS_CONSTLEN */ in fd5_program_emit() 360 OUT_RING(ring, s[FS].constlen); /* HLSQ_FS_CONSTLEN */ in fd5_program_emit() 364 OUT_RING(ring, s[HS].constlen); /* HLSQ_HS_CONSTLEN */ in fd5_program_emit() 368 OUT_RING(ring, s[DS].constlen); /* HLSQ_DS_CONSTLEN */ in fd5_program_emit() 372 OUT_RING(ring, s[GS].constlen); /* HLSQ_GS_CONSTLEN */ in fd5_program_emit()
|
D | fd5_emit.c | 142 assert(dst_offset + num <= v->constlen * 4); in emit_const_ptrs()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_shader.c | 169 v->constlen = MAX2(v->constlen, info->max_const + 1); in ir3_shader_assemble() 171 if (v->constlen > ir3_const_state(v)->offsets.driver_param) in ir3_shader_assemble() 179 v->constlen = align(v->constlen, 4); in ir3_shader_assemble() 620 constlens[i] = variants[i]->constlen; in ir3_trim_constlen() 859 so->info.max_half_reg + 1, so->info.max_reg + 1, so->constlen); in ir3_shader_disasm()
|
D | disasm-a3xx.c | 133 DIV_ROUND_UP(ctx->stats->constlen, 4)); in print_stats() 488 ctx->stats->constlen = MAX2(ctx->stats->constlen, num); in disasm_field_cb()
|
D | ir3_shader.h | 566 unsigned constlen; member
|
D | ir3_compiler_nir.c | 964 ctx->so->constlen = in emit_intrinsic_load_ubo() 965 MAX2(ctx->so->constlen, in emit_intrinsic_load_ubo() 2078 ctx->so->constlen = in emit_intrinsic() 2079 MAX2(ctx->so->constlen, in emit_intrinsic()
|
/third_party/mesa3d/src/freedreno/computerator/ |
D | a6xx.c | 138 unsigned constlen = align(v->constlen, 4); in cs_program_emit() local 141 A6XX_HLSQ_CS_CNTL_CONSTLEN(constlen) | A6XX_HLSQ_CS_CNTL_ENABLED); in cs_program_emit() 292 size = MIN2(size + base, v->constlen) - base; in cs_const_emit()
|
D | a4xx.c | 122 A4XX_HLSQ_CS_CONTROL_REG_CONSTLENGTH(v->constlen / 4)); in cs_program_emit() 215 size = MIN2(size + base, v->constlen) - base; in cs_const_emit()
|
/third_party/mesa3d/src/freedreno/common/ |
D | disasm.h | 46 int constlen; member
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_program.c | 300 assert(state->vs->constlen >= state->bs->constlen); in setup_config_stateobj() 303 OUT_RING(ring, A6XX_HLSQ_VS_CNTL_CONSTLEN(state->vs->constlen) | in setup_config_stateobj() 307 A6XX_HLSQ_HS_CNTL_CONSTLEN(state->hs->constlen))); in setup_config_stateobj() 310 A6XX_HLSQ_DS_CNTL_CONSTLEN(state->ds->constlen))); in setup_config_stateobj() 313 A6XX_HLSQ_GS_CNTL_CONSTLEN(state->gs->constlen))); in setup_config_stateobj() 315 OUT_RING(ring, A6XX_HLSQ_FS_CNTL_CONSTLEN(state->fs->constlen) | in setup_config_stateobj() 374 if (regid >= s->constlen) in fd6_emit_tess_bos()
|
D | fd6_compute.c | 54 OUT_RING(ring, A6XX_HLSQ_CS_CNTL_CONSTLEN(v->constlen) | in cs_program_emit()
|
D | fd6_const.c | 116 int size = MIN2(1 + regid, v->constlen) - regid; in emit_stage_tess_consts()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_pipeline.h | 92 uint32_t constlen; member
|
D | tu_pipeline.c | 410 size = MIN2(size + base, xs->constlen) - base; in tu_xs_get_immediates_packet_size_dwords() 464 tu_cs_emit(cs, A6XX_HLSQ_VS_CNTL_CONSTLEN(xs->constlen) | in tu6_emit_xs_config() 623 (16 * xs->constlen) - ubo_state->range[i].offset); in tu6_emit_xs() 640 size = MAX2(MIN2(size + base, xs->constlen) - base, 0); in tu6_emit_xs() 919 size = (MIN2(size + base, consumer->constlen) - base) * 4; in tu6_emit_link_map() 1646 uint32_t hs_param_dwords = MIN2((hs->constlen - hs_base) * 4, ARRAY_SIZE(hs_params)); in tu6_emit_geom_tess_consts() 1664 uint32_t ds_param_dwords = MIN2((ds->constlen - ds_base) * 4, ARRAY_SIZE(ds_params)); in tu6_emit_geom_tess_consts() 3214 link->constlen = v->constlen; in tu_pipeline_set_linkage()
|
/third_party/mesa3d/src/freedreno/.gitlab-ci/reference/ |
D | dEQP-VK.draw.indirect_draw.indexed.indirect_draw_count.triangle_list.log | 814 - shaderdb: 0 last-baryf, 0 half, 3 full, 2 constlen 835 - shaderdb: 0 last-baryf, 0 half, 3 full, 2 constlen 892 - shaderdb: 3 last-baryf, 0 half, 2 full, 0 constlen 912 - shaderdb: 3 last-baryf, 0 half, 2 full, 0 constlen 1472 - shaderdb: 0 last-baryf, 0 half, 3 full, 2 constlen 1500 - shaderdb: 3 last-baryf, 0 half, 2 full, 0 constlen
|
D | glxgears-a420.log | 428 - shaderdb: 0 last-baryf, 0 half, 0 full, 0 constlen 447 - shaderdb: 0 last-baryf, 0 half, 1 full, 1 constlen 1028 - shaderdb: 0 last-baryf, 0 half, 4 full, 13 constlen 1063 - shaderdb: 5 last-baryf, 0 half, 1 full, 0 constlen 1646 - shaderdb: 0 last-baryf, 0 half, 5 full, 13 constlen 1680 - shaderdb: 5 last-baryf, 0 half, 1 full, 0 constlen 2065 - shaderdb: 0 last-baryf, 0 half, 5 full, 13 constlen 2097 - shaderdb: 3 last-baryf, 0 half, 2 full, 0 constlen 2445 - shaderdb: 0 last-baryf, 0 half, 4 full, 13 constlen 2480 - shaderdb: 5 last-baryf, 0 half, 1 full, 0 constlen [all …]
|
/third_party/mesa3d/src/freedreno/decode/ |
D | pgmdump2.c | 394 full_regs, stats.constlen, stats.ss, stats.sy, 0, in decode_shader_descriptor_block()
|
/third_party/mesa3d/docs/relnotes/ |
D | 10.3.3.rst | 123 - freedreno/ir3: fix constlen with relative addressing
|