Searched refs:constoff (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_program.c | 139 uint8_t constoff; member 207 s[VS].constoff = 0; in setup_stages() 209 s[FS].constoff = s[VS].constlen; in setup_stages() 211 s[HS].constoff = s[DS].constoff = s[GS].constoff = s[FS].constoff; in setup_stages() 297 A4XX_HLSQ_VS_CONTROL_REG_CONSTOBJECTOFFSET(s[VS].constoff) | in fd4_program_emit() 301 A4XX_HLSQ_FS_CONTROL_REG_CONSTOBJECTOFFSET(s[FS].constoff) | in fd4_program_emit() 305 A4XX_HLSQ_HS_CONTROL_REG_CONSTOBJECTOFFSET(s[HS].constoff) | in fd4_program_emit() 309 A4XX_HLSQ_DS_CONTROL_REG_CONSTOBJECTOFFSET(s[DS].constoff) | in fd4_program_emit() 313 A4XX_HLSQ_GS_CONTROL_REG_CONSTOBJECTOFFSET(s[GS].constoff) | in fd4_program_emit() 378 OUT_RING(ring, A4XX_SP_VS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET(s[VS].constoff) | in fd4_program_emit() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_program.c | 255 uint8_t constoff; member 321 unsigned constoff = 0; in setup_stages() local 323 s[i].constoff = constoff; in setup_stages() 324 constoff += s[i].constlen; in setup_stages() 378 OUT_RING(ring, A5XX_HLSQ_VS_CONTROL_REG_CONSTOBJECTOFFSET(s[VS].constoff) | in fd5_program_emit() 381 OUT_RING(ring, A5XX_HLSQ_FS_CONTROL_REG_CONSTOBJECTOFFSET(s[FS].constoff) | in fd5_program_emit() 384 OUT_RING(ring, A5XX_HLSQ_HS_CONTROL_REG_CONSTOBJECTOFFSET(s[HS].constoff) | in fd5_program_emit() 387 OUT_RING(ring, A5XX_HLSQ_DS_CONTROL_REG_CONSTOBJECTOFFSET(s[DS].constoff) | in fd5_program_emit() 390 OUT_RING(ring, A5XX_HLSQ_GS_CONTROL_REG_CONSTOBJECTOFFSET(s[GS].constoff) | in fd5_program_emit() 405 OUT_RING(ring, A5XX_SP_VS_CONTROL_REG_CONSTOBJECTOFFSET(s[VS].constoff) | in fd5_program_emit() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_compiler_nir.c | 207 unsigned constoff = align(ctx->s->num_uniforms, 4); in compile_init() local 213 so->constbase.ubo = constoff; in compile_init() 214 constoff += align(ctx->s->info->num_ubos * ptrsz, 4) / 4; in compile_init() 218 so->constbase.driver_param = constoff; in compile_init() 219 constoff += align(IR3_DP_COUNT, 4) / 4; in compile_init() 223 so->constbase.tfbo = constoff; in compile_init() 224 constoff += align(PIPE_MAX_SO_BUFFERS * ptrsz, 4) / 4; in compile_init() 228 so->constbase.immediate = constoff; in compile_init()
|