Searched refs:constoff (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_nir.c | 869 unsigned constoff = const_state->ubo_state.size / 16; in ir3_setup_const_state() local 873 const_state->offsets.ubo = constoff; in ir3_setup_const_state() 874 constoff += align(const_state->num_ubos * ptrsz, 4) / 4; in ir3_setup_const_state() 879 const_state->offsets.image_dims = constoff; in ir3_setup_const_state() 880 constoff += align(cnt, 4) / 4; in ir3_setup_const_state() 898 constoff = MAX2(constoff, 1); in ir3_setup_const_state() 899 constoff = align(constoff, upload_unit); in ir3_setup_const_state() 900 const_state->offsets.driver_param = constoff; in ir3_setup_const_state() 902 constoff += align(const_state->num_driver_params / 4, upload_unit); in ir3_setup_const_state() 907 const_state->offsets.tfbo = constoff; in ir3_setup_const_state() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_program.c | 84 uint8_t constoff; member 146 s[VS].constoff = 0; in setup_stages() 148 s[FS].constoff = s[VS].constlen; in setup_stages() 150 s[HS].constoff = s[DS].constoff = s[GS].constoff = s[FS].constoff; in setup_stages() 247 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() 257 A4XX_HLSQ_HS_CONTROL_REG_CONSTOBJECTOFFSET(s[HS].constoff) | in fd4_program_emit() 262 A4XX_HLSQ_DS_CONTROL_REG_CONSTOBJECTOFFSET(s[DS].constoff) | in fd4_program_emit() 267 A4XX_HLSQ_GS_CONTROL_REG_CONSTOBJECTOFFSET(s[GS].constoff) | in fd4_program_emit() 336 OUT_RING(ring, A4XX_SP_VS_OBJ_OFFSET_REG_CONSTOBJECTOFFSET(s[VS].constoff) | in fd4_program_emit() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_program.c | 157 uint8_t constoff; member 217 unsigned constoff = 0; in setup_stages() local 219 s[i].constoff = constoff; in setup_stages() 220 constoff += s[i].constlen; in setup_stages() 296 OUT_RING(ring, A5XX_HLSQ_VS_CONFIG_CONSTOBJECTOFFSET(s[VS].constoff) | in fd5_program_emit() 299 OUT_RING(ring, A5XX_HLSQ_FS_CONFIG_CONSTOBJECTOFFSET(s[FS].constoff) | in fd5_program_emit() 302 OUT_RING(ring, A5XX_HLSQ_HS_CONFIG_CONSTOBJECTOFFSET(s[HS].constoff) | in fd5_program_emit() 305 OUT_RING(ring, A5XX_HLSQ_DS_CONFIG_CONSTOBJECTOFFSET(s[DS].constoff) | in fd5_program_emit() 308 OUT_RING(ring, A5XX_HLSQ_GS_CONFIG_CONSTOBJECTOFFSET(s[GS].constoff) | in fd5_program_emit() 333 OUT_RING(ring, A5XX_SP_VS_CONFIG_CONSTOBJECTOFFSET(s[VS].constoff) | in fd5_program_emit() [all …]
|