Home
last modified time | relevance | path

Searched refs:vs_const_i (Results 1 – 5 of 5) sorted by relevance

/aosp_15_r20/external/mesa3d/src/gallium/frontends/nine/
H A Dstateblock9.c34 This->state.vs_const_i = MALLOC(VS_CONST_I_SIZE(This->base.device)); in NineStateBlock9_ctor()
37 !This->state.vs_const_i || !This->state.vs_const_b) in NineStateBlock9_ctor()
66 FREE(state->vs_const_i); in NineStateBlock9_dtor()
81 if (This->state.changed.vs_const_i) { in NineStateBlock9_dtor()
82 for (r = This->state.changed.vs_const_i; r->next; r = r->next); in NineStateBlock9_dtor()
83 nine_range_pool_put_chain(pool, This->state.changed.vs_const_i, r); in NineStateBlock9_dtor()
170 for (r = mask->changed.vs_const_i; r; r = r->next) { in nine_state_copy_common()
171 memcpy(&dst->vs_const_i[r->bgn * 4], in nine_state_copy_common()
172 &src->vs_const_i[r->bgn * 4], in nine_state_copy_common()
403 memcpy(dst->vs_const_i, src->vs_const_i, VS_CONST_I_SIZE(device)); in nine_state_copy_common_all()
H A Dnine_state.h168 struct nine_range *vs_const_i; member
188 int *vs_const_i; member
224 BOOL vs_const_i; member
259 int *vs_const_i; member
H A Ddevice9.c473 This->state.vs_const_i = CALLOC(NINE_MAX_CONST_I_SWVP * sizeof(int[4]), 1); in NineDevice9_ctor()
474 This->context.vs_const_i = CALLOC(NINE_MAX_CONST_I_SWVP * sizeof(int[4]), 1); in NineDevice9_ctor()
482 This->state.vs_const_i = CALLOC(NINE_MAX_CONST_I * sizeof(int[4]), 1); in NineDevice9_ctor()
483 This->context.vs_const_i = CALLOC(NINE_MAX_CONST_I * sizeof(int[4]), 1); in NineDevice9_ctor()
493 !This->state.vs_const_i || !This->context.vs_const_i || in NineDevice9_ctor()
653 FREE(This->state.vs_const_i); in NineDevice9_dtor()
654 FREE(This->context.vs_const_i); in NineDevice9_dtor()
2519 …nine_ranges_insert(&dst->changed.vs_const_i, 0, This->may_swvp ? NINE_MAX_CONST_I_SWVP : NINE_MAX_… in NineDevice9_CreateStateBlock()
3599 if (!memcmp(&state->vs_const_i[4 * StartRegister], pConstantData, in NineDevice9_SetVertexShaderConstantI()
3603 memcpy(&state->vs_const_i[4 * StartRegister], in NineDevice9_SetVertexShaderConstantI()
[all …]
H A Dnine_state.c425 if (context->changed.vs_const_i || context->changed.group & NINE_STATE_SWVP) { in prepare_vs_constants_userbuf_swvp()
430 cb.user_buffer = context->vs_const_i; in prepare_vs_constants_userbuf_swvp()
435 context->changed.vs_const_i = 0; in prepare_vs_constants_userbuf_swvp()
482 if (context->changed.vs_const_i || context->changed.group & NINE_STATE_SWVP) { in prepare_vs_constants_userbuf()
484 memcpy(idst, context->vs_const_i, NINE_MAX_CONST_I * sizeof(int[4])); in prepare_vs_constants_userbuf()
485 context->changed.vs_const_i = 0; in prepare_vs_constants_userbuf()
1751 memcpy(&context->vs_const_i[4 * StartRegister], in CSMT_ITEM_NO_WAIT()
1756 context->vs_const_i[4 * (StartRegister + i)] = fui((float)(pConstantData[4 * i])); in CSMT_ITEM_NO_WAIT()
1757 … context->vs_const_i[4 * (StartRegister + i) + 1] = fui((float)(pConstantData[4 * i + 1])); in CSMT_ITEM_NO_WAIT()
1758 … context->vs_const_i[4 * (StartRegister + i) + 2] = fui((float)(pConstantData[4 * i + 2])); in CSMT_ITEM_NO_WAIT()
[all …]
H A Dvertexshader9.h91 context->vs_const_i, in NineVertexShader9_UpdateKey()