Searched refs:constoff (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_nir.c | 652 unsigned constoff = const_state->ubo_state.size / 16; in ir3_setup_const_state() local 656 const_state->offsets.ubo = constoff; in ir3_setup_const_state() 657 constoff += align(const_state->num_ubos * ptrsz, 4) / 4; in ir3_setup_const_state() 662 const_state->offsets.ssbo_sizes = constoff; in ir3_setup_const_state() 663 constoff += align(cnt, 4) / 4; in ir3_setup_const_state() 668 const_state->offsets.image_dims = constoff; in ir3_setup_const_state() 669 constoff += align(cnt, 4) / 4; in ir3_setup_const_state() 675 constoff = MAX2(constoff, 1); in ir3_setup_const_state() 676 const_state->offsets.driver_param = constoff; in ir3_setup_const_state() 678 constoff += const_state->num_driver_params / 4; in ir3_setup_const_state() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_program.c | 85 uint8_t constoff; member 154 s[VS].constoff = 0; in setup_stages() 156 s[FS].constoff = s[VS].constlen; in setup_stages() 158 s[HS].constoff = s[DS].constoff = s[GS].constoff = s[FS].constoff; in setup_stages() 248 A4XX_HLSQ_VS_CONTROL_REG_CONSTOBJECTOFFSET(s[VS].constoff) | in fd4_program_emit() 252 A4XX_HLSQ_FS_CONTROL_REG_CONSTOBJECTOFFSET(s[FS].constoff) | in fd4_program_emit() 256 A4XX_HLSQ_HS_CONTROL_REG_CONSTOBJECTOFFSET(s[HS].constoff) | in fd4_program_emit() 260 A4XX_HLSQ_DS_CONTROL_REG_CONSTOBJECTOFFSET(s[DS].constoff) | in fd4_program_emit() 264 A4XX_HLSQ_GS_CONTROL_REG_CONSTOBJECTOFFSET(s[GS].constoff) | in fd4_program_emit() 329 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 | 205 uint8_t constoff; member 272 unsigned constoff = 0; in setup_stages() local 274 s[i].constoff = constoff; in setup_stages() 275 constoff += s[i].constlen; in setup_stages() 332 OUT_RING(ring, A5XX_HLSQ_VS_CONFIG_CONSTOBJECTOFFSET(s[VS].constoff) | in fd5_program_emit() 335 OUT_RING(ring, A5XX_HLSQ_FS_CONFIG_CONSTOBJECTOFFSET(s[FS].constoff) | in fd5_program_emit() 338 OUT_RING(ring, A5XX_HLSQ_HS_CONFIG_CONSTOBJECTOFFSET(s[HS].constoff) | in fd5_program_emit() 341 OUT_RING(ring, A5XX_HLSQ_DS_CONFIG_CONSTOBJECTOFFSET(s[DS].constoff) | in fd5_program_emit() 344 OUT_RING(ring, A5XX_HLSQ_GS_CONFIG_CONSTOBJECTOFFSET(s[GS].constoff) | in fd5_program_emit() 364 OUT_RING(ring, A5XX_SP_VS_CONFIG_CONSTOBJECTOFFSET(s[VS].constoff) | in fd5_program_emit() [all …]
|