Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/frontends/nine/
Dstateblock9.c51 This->state.vs_const_i = MALLOC(VS_CONST_I_SIZE(This->base.device)); in NineStateBlock9_ctor()
54 !This->state.vs_const_i || !This->state.vs_const_b) in NineStateBlock9_ctor()
83 FREE(state->vs_const_i); in NineStateBlock9_dtor()
98 if (This->state.changed.vs_const_i) { in NineStateBlock9_dtor()
99 for (r = This->state.changed.vs_const_i; r->next; r = r->next); in NineStateBlock9_dtor()
100 nine_range_pool_put_chain(pool, This->state.changed.vs_const_i, r); in NineStateBlock9_dtor()
187 for (r = mask->changed.vs_const_i; r; r = r->next) { in nine_state_copy_common()
188 memcpy(&dst->vs_const_i[r->bgn * 4], in nine_state_copy_common()
189 &src->vs_const_i[r->bgn * 4], in nine_state_copy_common()
420 memcpy(dst->vs_const_i, src->vs_const_i, VS_CONST_I_SIZE(device)); in nine_state_copy_common_all()
Dnine_state.h176 struct nine_range *vs_const_i; member
196 int *vs_const_i; member
229 BOOL vs_const_i; member
264 int *vs_const_i; member
Ddevice9.c470 This->state.vs_const_i = CALLOC(NINE_MAX_CONST_I_SWVP * sizeof(int[4]), 1); in NineDevice9_ctor()
471 This->context.vs_const_i = CALLOC(NINE_MAX_CONST_I_SWVP * sizeof(int[4]), 1); in NineDevice9_ctor()
479 This->state.vs_const_i = CALLOC(NINE_MAX_CONST_I * sizeof(int[4]), 1); in NineDevice9_ctor()
480 This->context.vs_const_i = CALLOC(NINE_MAX_CONST_I * sizeof(int[4]), 1); in NineDevice9_ctor()
492 !This->state.vs_const_i || !This->context.vs_const_i || in NineDevice9_ctor()
630 FREE(This->state.vs_const_i); in NineDevice9_dtor()
631 FREE(This->context.vs_const_i); in NineDevice9_dtor()
2495 …nine_ranges_insert(&dst->changed.vs_const_i, 0, This->may_swvp ? NINE_MAX_CONST_I_SWVP : NINE_MAX_… in NineDevice9_CreateStateBlock()
3575 if (!memcmp(&state->vs_const_i[4 * StartRegister], pConstantData, in NineDevice9_SetVertexShaderConstantI()
3579 memcpy(&state->vs_const_i[4 * StartRegister], in NineDevice9_SetVertexShaderConstantI()
[all …]
Dnine_state.c428 if (context->changed.vs_const_i || context->changed.group & NINE_STATE_SWVP) { in prepare_vs_constants_userbuf_swvp()
433 cb.user_buffer = context->vs_const_i; in prepare_vs_constants_userbuf_swvp()
438 context->changed.vs_const_i = 0; in prepare_vs_constants_userbuf_swvp()
474 if (context->changed.vs_const_i || context->changed.group & NINE_STATE_SWVP) { in prepare_vs_constants_userbuf()
476 memcpy(idst, context->vs_const_i, NINE_MAX_CONST_I * sizeof(int[4])); in prepare_vs_constants_userbuf()
477 context->changed.vs_const_i = 0; in prepare_vs_constants_userbuf()
1709 memcpy(&context->vs_const_i[4 * StartRegister], in CSMT_ITEM_NO_WAIT()
1714 context->vs_const_i[4 * (StartRegister + i)] = fui((float)(pConstantData[4 * i])); in CSMT_ITEM_NO_WAIT()
1715 … context->vs_const_i[4 * (StartRegister + i) + 1] = fui((float)(pConstantData[4 * i + 1])); in CSMT_ITEM_NO_WAIT()
1716 … context->vs_const_i[4 * (StartRegister + i) + 2] = fui((float)(pConstantData[4 * i + 2])); in CSMT_ITEM_NO_WAIT()
[all …]
Dvertexshader9.h108 context->vs_const_i, in NineVertexShader9_UpdateKey()