Searched refs:constlen (Results 1 - 25 of 37) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_program.c123 uint8_t constlen; member in struct:stage
151 /* constlen is in units of 4 * vec4: */
152 s[i].constlen = align(s[i].v->constlen, 4) / 4;
160 s[i].constlen = 0;
187 s[VS].constlen = 66;
188 s[FS].constlen = 128 - s[VS].constlen;
192 s[FS].constoff = s[VS].constlen;
279 OUT_RING(ring, A4XX_HLSQ_VS_CONTROL_REG_CONSTLENGTH(s[VS].constlen) |
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/ir3/
H A Dir3_const.h71 assert(regid + sizedwords <= v->constlen * 4);
131 if (16 * v->constlen <= state->range[i].offset)
137 size = MIN2(size, (16 * v->constlen) - state->range[i].offset);
177 if (16 * v->constlen <= state->range[i].offset)
183 size = MIN2(size, (16 * v->constlen) - state->range[i].offset);
216 if (v->constlen > offset) {
250 assert(offset * 4 + params <= v->constlen * 4);
264 if (v->constlen > offset) {
304 uint32_t size = MIN2(ARRAY_SIZE(dims), v->constlen * 4 - offset * 4);
322 size = MIN2(size + base, v->constlen)
[all...]
H A Dir3_gallium.c85 "%u dwords, %u last-baryf, %u half, %u full, %u constlen, "
92 v->info.max_half_reg + 1, v->info.max_reg + 1, v->constlen,
223 if (v->constlen > compiler->max_const_safe) {
235 if (v->constlen > compiler->max_const_safe) {
/xsrc/external/mit/MesaLib/dist/src/freedreno/common/
H A Ddisasm.h46 int constlen; member in struct:shader_stats
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_program.c195 /* seems like vs->constlen + fs->constlen > 256, then CONSTMODE=1 */
196 constmode = ((vp->constlen + fp->constlen) > 256) ? 1 : 0;
244 OUT_RING(ring, A3XX_HLSQ_VS_CONTROL_REG_CONSTLENGTH(vp->constlen) |
247 OUT_RING(ring, A3XX_HLSQ_FS_CONTROL_REG_CONSTLENGTH(fp->constlen) |
269 OUT_RING(ring, A3XX_SP_VS_CTRL_REG1_CONSTLENGTH(vp->constlen) |
271 A3XX_SP_VS_CTRL_REG1_CONSTFOOTPRINT(MAX2(vp->constlen + 1, 0)));
340 OUT_RING(ring, A3XX_SP_FS_CTRL_REG1_CONSTLENGTH(fp->constlen) |
342 A3XX_SP_FS_CTRL_REG1_CONSTFOOTPRINT(MAX2(fp->constlen
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_program.c155 /* seems like vs->constlen + fs->constlen > 256, then CONSTMODE=1 */
156 constmode = ((vp->constlen + fp->constlen) > 256) ? 1 : 0;
216 OUT_RING(ring, A3XX_HLSQ_VS_CONTROL_REG_CONSTLENGTH(vp->constlen) |
219 OUT_RING(ring, A3XX_HLSQ_FS_CONTROL_REG_CONSTLENGTH(fp->constlen) |
243 A3XX_SP_VS_CTRL_REG1_CONSTLENGTH(vp->constlen) |
245 A3XX_SP_VS_CTRL_REG1_CONSTFOOTPRINT(MAX2(vp->constlen - 1, 0)));
315 OUT_RING(ring, A3XX_SP_FS_CTRL_REG1_CONSTLENGTH(fp->constlen) |
318 MAX2(fp->constlen
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_program.c85 uint8_t constlen; member in struct:stage
106 /* constlen is in units of 4 * vec4: */
107 assert(s[i].v->constlen % 4 == 0);
108 s[i].constlen = s[i].v->constlen / 4;
116 s[i].constlen = 0;
143 s[VS].constlen = 66;
144 s[FS].constlen = 128 - s[VS].constlen;
148 s[FS].constoff = s[VS].constlen;
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_compute.c79 assert(v->constlen % 4 == 0);
80 unsigned constlen = v->constlen / 4; local in function:cs_program_emit
82 OUT_RING(ring, constlen); /* HLSQ_CS_CONSTLEN */
H A Dfd5_program.c158 uint8_t constlen; member in struct:stage
179 /* constlen is in units of 4 * vec4: */
180 assert(s[i].v->constlen % 4 == 0);
181 s[i].constlen = s[i].v->constlen / 4;
189 s[i].constlen = 0;
220 constoff += s[i].constlen;
356 OUT_RING(ring, s[VS].constlen); /* HLSQ_VS_CONSTLEN */
360 OUT_RING(ring, s[FS].constlen); /* HLSQ_FS_CONSTLEN */
364 OUT_RING(ring, s[HS].constlen); /* HLSQ_HS_CONSTLE
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/ir3/
H A Dir3_gallium.c55 "SHADER-DB: %s prog %d/%d: %u const, %u constlen\n"
69 v->constlen,
239 * unused consts, ie. we could end up w/ constlen that is
244 uint32_t max_const = MIN2(v->num_uniforms, v->constlen);
284 if (v->constlen > offset) {
313 if (v->constlen > offset) {
334 if (v->constlen > offset) {
391 size = MIN2(size + base, v->constlen) - base;
411 if (v->constlen > offset) {
538 if (v->constlen > offse
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_compute.c125 unsigned constlen = align(v->constlen, 4) / 4; local in function:cs_program_emit
127 OUT_RING(ring, constlen); /* HLSQ_CS_CONSTLEN */
H A Dfd5_program.c243 uint8_t constlen; member in struct:stage
271 /* constlen is in units of 4 * vec4: */
272 s[i].constlen = align(s[i].v->constlen, 4) / 4;
280 s[i].constlen = 0;
311 constoff += s[i].constlen;
419 OUT_RING(ring, s[VS].constlen); /* HLSQ_VS_CONSTLEN */
423 OUT_RING(ring, s[FS].constlen); /* HLSQ_FS_CONSTLEN */
427 OUT_RING(ring, s[HS].constlen); /* HLSQ_HS_CONSTLEN */
431 OUT_RING(ring, s[DS].constlen); /* HLSQ_DS_CONSTLE
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_compute.c82 unsigned constlen = align(v->constlen, 4); local in function:cs_program_emit
84 OUT_RING(ring, A6XX_HLSQ_CS_CNTL_CONSTLEN(constlen) |
H A Dfd6_program.c242 uint16_t constlen; member in struct:stage
276 s[i].constlen = align(s[i].v->constlen, 4);
284 s[i].constlen = 0;
411 OUT_RING(ring, A6XX_HLSQ_VS_CNTL_CONSTLEN(s[VS].constlen) |
413 OUT_RING(ring, A6XX_HLSQ_HS_CNTL_CONSTLEN(s[HS].constlen)); /* HLSQ_HS_CONSTLEN */
414 OUT_RING(ring, A6XX_HLSQ_DS_CNTL_CONSTLEN(s[DS].constlen)); /* HLSQ_DS_CONSTLEN */
415 OUT_RING(ring, A6XX_HLSQ_GS_CNTL_CONSTLEN(s[GS].constlen)); /* HLSQ_GS_CONSTLEN */
418 OUT_RING(ring, A6XX_HLSQ_FS_CNTL_CONSTLEN(s[FS].constlen) |
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_shader.c165 /* NOTE: if relative addressing is used, we set constlen in
169 v->constlen = MAX2(v->constlen, info->max_const + 1);
171 if (v->constlen > ir3_const_state(v)->offsets.driver_param)
174 /* On a4xx and newer, constlen must be a multiple of 16 dwords even though
176 * regarding the shared constlen simpler.
179 v->constlen = align(v->constlen, 4);
516 /* Given an array of constlen's, decrease some of them so that the sum stays
550 /* Figures out which stages in the pipeline to use the "safe" constlen fo
[all...]
H A Ddisasm-a3xx.c129 "%s- shaderdb: %u last-baryf, %d half, %d full, %u constlen\n",
133 DIV_ROUND_UP(ctx->stats->constlen, 4));
439 ctx->stats->constlen = MAX2(ctx->stats->constlen, num);
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/ir3/
H A Dir3_shader.c130 /* NOTE: if relative addressing is used, we set constlen in
134 v->constlen = MAX2(v->constlen, v->info.max_const + 1);
418 fprintf(out, "; %d const, %u constlen\n",
420 so->constlen);
H A Dir3_shader.h362 unsigned constlen; member in struct:ir3_shader_variant
/xsrc/external/mit/MesaLib/dist/src/freedreno/computerator/
H A Da6xx.c138 unsigned constlen = align(v->constlen, 4); local in function:cs_program_emit
141 A6XX_HLSQ_CS_CNTL_CONSTLEN(constlen) | A6XX_HLSQ_CS_CNTL_ENABLED);
273 size = MIN2(size + base, v->constlen) - base;
H A Da4xx.c122 A4XX_HLSQ_CS_CONTROL_REG_CONSTLENGTH(v->constlen / 4));
215 size = MIN2(size + base, v->constlen) - base;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_compute.c54 OUT_RING(ring, A6XX_HLSQ_CS_CNTL_CONSTLEN(v->constlen) |
H A Dfd6_program.c285 debug_assert(state->vs->constlen >= state->bs->constlen);
288 OUT_RING(ring, A6XX_HLSQ_VS_CNTL_CONSTLEN(state->vs->constlen) |
292 A6XX_HLSQ_HS_CNTL_CONSTLEN(state->hs->constlen)));
295 A6XX_HLSQ_DS_CNTL_CONSTLEN(state->ds->constlen)));
298 A6XX_HLSQ_GS_CNTL_CONSTLEN(state->gs->constlen)));
300 OUT_RING(ring, A6XX_HLSQ_FS_CNTL_CONSTLEN(state->fs->constlen) |
H A Dfd6_const.c134 int size = MIN2(1 + regid, v->constlen) - regid;
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/
H A Dtu_pipeline.c384 tu_cs_emit(cs, A6XX_HLSQ_VS_CNTL_CONSTLEN(align(vs->constlen, 4)) | 0x100);
402 tu_cs_emit(cs, A6XX_HLSQ_HS_CNTL_CONSTLEN(align(hs->constlen, 4)));
417 tu_cs_emit(cs, A6XX_HLSQ_DS_CNTL_CONSTLEN(align(ds->constlen, 4)));
435 tu_cs_emit(cs, A6XX_HLSQ_GS_CNTL_CONSTLEN(align(gs->constlen, 4)));
473 tu_cs_emit(cs, A6XX_HLSQ_FS_CNTL_CONSTLEN(align(fs->constlen, 4)) | 0x100);
/xsrc/external/mit/MesaLib/dist/src/freedreno/decode/
H A Dpgmdump2.c390 "%u half, %u full, %u constlen, "
394 full_regs, stats.constlen, stats.ss, stats.sy, 0,

Completed in 53 milliseconds

12