Home
last modified time | relevance | path

Searched refs:constlen (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_program.c134 uint8_t constlen; member
163 s[i].constlen = align(s[i].v->constlen, 4) / 4; in setup_stages()
171 s[i].constlen = 0; in setup_stages()
198 s[VS].constlen = 66; in setup_stages()
199 s[FS].constlen = 128 - s[VS].constlen; in setup_stages()
203 s[FS].constoff = s[VS].constlen; in setup_stages()
290 OUT_RING(ring, A4XX_HLSQ_VS_CONTROL_REG_CONSTLENGTH(s[VS].constlen) | in fd4_program_emit()
294 OUT_RING(ring, A4XX_HLSQ_FS_CONTROL_REG_CONSTLENGTH(s[FS].constlen) | in fd4_program_emit()
298 OUT_RING(ring, A4XX_HLSQ_HS_CONTROL_REG_CONSTLENGTH(s[HS].constlen) | in fd4_program_emit()
302 OUT_RING(ring, A4XX_HLSQ_DS_CONTROL_REG_CONSTLENGTH(s[DS].constlen) | in fd4_program_emit()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_program.c205 constmode = ((vp->constlen + fp->constlen) > 256) ? 1 : 0; in fd3_program_emit()
246 OUT_RING(ring, A3XX_HLSQ_VS_CONTROL_REG_CONSTLENGTH(vp->constlen) | in fd3_program_emit()
249 OUT_RING(ring, A3XX_HLSQ_FS_CONTROL_REG_CONSTLENGTH(fp->constlen) | in fd3_program_emit()
271 OUT_RING(ring, A3XX_SP_VS_CTRL_REG1_CONSTLENGTH(vp->constlen) | in fd3_program_emit()
273 A3XX_SP_VS_CTRL_REG1_CONSTFOOTPRINT(MAX2(vp->constlen + 1, 0))); in fd3_program_emit()
342 OUT_RING(ring, A3XX_SP_FS_CTRL_REG1_CONSTLENGTH(fp->constlen) | in fd3_program_emit()
344 A3XX_SP_FS_CTRL_REG1_CONSTFOOTPRINT(MAX2(fp->constlen + 1, 0)) | in fd3_program_emit()
349 MAX2(128, vp->constlen)) | in fd3_program_emit()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_shader.c126 v->constlen = MIN2(255, MAX2(v->constlen, v->info.max_const + 1)); in ir3_shader_assemble()
184 v->constlen); in dump_shader_info()
487 so->constlen); in ir3_shader_disasm()
560 uint32_t max_const = MIN2(v->num_uniforms, v->constlen); in emit_user_consts()
585 if (v->constlen > offset) { in emit_ubos()
614 if (v->constlen > offset) { in emit_ssbo_sizes()
635 if (v->constlen > offset) { in emit_image_dims()
672 size = MIN2(size + base, v->constlen) - base; in emit_immediates()
692 if (v->constlen > offset) { in emit_tfbos()
806 if (v->constlen > offset) { in ir3_emit_vs_consts()
[all …]
Dir3_shader.h228 unsigned constlen; member
Dir3_compiler_nir.c1966 ctx->so->constlen = ctx->s->num_uniforms; in emit_intrinsic()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_program.c250 uint8_t constlen; member
279 s[i].constlen = align(s[i].v->constlen, 4) / 4; in setup_stages()
287 s[i].constlen = 0; in setup_stages()
318 constoff += s[i].constlen; in setup_stages()
425 OUT_RING(ring, s[VS].constlen); /* HLSQ_VS_CONSTLEN */ in fd5_program_emit()
429 OUT_RING(ring, s[FS].constlen); /* HLSQ_FS_CONSTLEN */ in fd5_program_emit()
433 OUT_RING(ring, s[HS].constlen); /* HLSQ_HS_CONSTLEN */ in fd5_program_emit()
437 OUT_RING(ring, s[DS].constlen); /* HLSQ_DS_CONSTLEN */ in fd5_program_emit()
441 OUT_RING(ring, s[GS].constlen); /* HLSQ_GS_CONSTLEN */ in fd5_program_emit()
Dfd5_compute.c98 unsigned constlen = align(v->constlen, 4) / 4; in cs_program_emit() local
100 OUT_RING(ring, constlen); /* HLSQ_CS_CONSTLEN */ in cs_program_emit()