Searched refs:constoff (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_program.c | 133 uint8_t constoff; member 201 s[VS].constoff = 0; in setup_stages() 203 s[FS].constoff = s[VS].constlen; in setup_stages() 205 s[HS].constoff = s[DS].constoff = s[GS].constoff = s[FS].constoff; in setup_stages() 291 A4XX_HLSQ_VS_CONTROL_REG_CONSTOBJECTOFFSET(s[VS].constoff) | in fd4_program_emit() 295 A4XX_HLSQ_FS_CONTROL_REG_CONSTOBJECTOFFSET(s[FS].constoff) | in fd4_program_emit() 299 A4XX_HLSQ_HS_CONTROL_REG_CONSTOBJECTOFFSET(s[HS].constoff) | in fd4_program_emit() 303 A4XX_HLSQ_DS_CONTROL_REG_CONSTOBJECTOFFSET(s[DS].constoff) | in fd4_program_emit() 307 A4XX_HLSQ_GS_CONTROL_REG_CONSTOBJECTOFFSET(s[GS].constoff) | in fd4_program_emit() 372 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 | 249 uint8_t constoff; member 315 unsigned constoff = 0; in setup_stages() local 317 s[i].constoff = constoff; in setup_stages() 318 constoff += s[i].constlen; in setup_stages() 373 OUT_RING(ring, A5XX_HLSQ_VS_CONFIG_CONSTOBJECTOFFSET(s[VS].constoff) | in fd5_program_emit() 376 OUT_RING(ring, A5XX_HLSQ_FS_CONFIG_CONSTOBJECTOFFSET(s[FS].constoff) | in fd5_program_emit() 379 OUT_RING(ring, A5XX_HLSQ_HS_CONFIG_CONSTOBJECTOFFSET(s[HS].constoff) | in fd5_program_emit() 382 OUT_RING(ring, A5XX_HLSQ_DS_CONFIG_CONSTOBJECTOFFSET(s[DS].constoff) | in fd5_program_emit() 385 OUT_RING(ring, A5XX_HLSQ_GS_CONFIG_CONSTOBJECTOFFSET(s[GS].constoff) | in fd5_program_emit() 405 OUT_RING(ring, A5XX_SP_VS_CONFIG_CONSTOBJECTOFFSET(s[VS].constoff) | in fd5_program_emit() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_compiler_nir.c | 227 unsigned constoff = align(ctx->s->num_uniforms, 4); in compile_init() local 233 so->constbase.ubo = constoff; in compile_init() 234 constoff += align(ctx->s->info.num_ubos * ptrsz, 4) / 4; in compile_init() 239 so->constbase.ssbo_sizes = constoff; in compile_init() 240 constoff += align(cnt, 4) / 4; in compile_init() 245 so->constbase.image_dims = constoff; in compile_init() 246 constoff += align(cnt, 4) / 4; in compile_init() 256 so->constbase.driver_param = constoff; in compile_init() 257 constoff += align(num_driver_params, 4) / 4; in compile_init() 262 so->constbase.tfbo = constoff; in compile_init() [all …]
|