Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/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()
71 FREE(state->vs_const_i); in NineStateBlock9_dtor()
86 if (This->state.changed.vs_const_i) { in NineStateBlock9_dtor()
87 for (r = This->state.changed.vs_const_i; r->next; r = r->next); in NineStateBlock9_dtor()
88 nine_range_pool_put_chain(pool, This->state.changed.vs_const_i, r); in NineStateBlock9_dtor()
168 for (r = mask->changed.vs_const_i; r; r = r->next) { in nine_state_copy_common()
169 memcpy(&dst->vs_const_i[r->bgn * 4], in nine_state_copy_common()
170 &src->vs_const_i[r->bgn * 4], in nine_state_copy_common()
399 memcpy(dst->vs_const_i, src->vs_const_i, VS_CONST_I_SIZE(device)); in nine_state_copy_common_all()
Dnine_state.h173 struct nine_range *vs_const_i; member
193 int *vs_const_i; member
226 BOOL vs_const_i; member
257 int *vs_const_i; member
Dnine_state.c397 if (context->changed.vs_const_i || context->changed.group & NINE_STATE_SWVP) { in prepare_vs_constants_userbuf_swvp()
402 cb.user_buffer = context->vs_const_i; in prepare_vs_constants_userbuf_swvp()
407 context->changed.vs_const_i = 0; in prepare_vs_constants_userbuf_swvp()
442 if (context->changed.vs_const_i || context->changed.group & NINE_STATE_SWVP) { in prepare_vs_constants_userbuf()
444 memcpy(idst, context->vs_const_i, NINE_MAX_CONST_I * sizeof(int[4])); in prepare_vs_constants_userbuf()
445 context->changed.vs_const_i = 0; in prepare_vs_constants_userbuf()
1582 memcpy(&context->vs_const_i[4 * StartRegister], in CSMT_ITEM_NO_WAIT()
1587 context->vs_const_i[4 * (StartRegister + i)] = fui((float)(pConstantData[4 * i])); in CSMT_ITEM_NO_WAIT()
1588 … context->vs_const_i[4 * (StartRegister + i) + 1] = fui((float)(pConstantData[4 * i + 1])); in CSMT_ITEM_NO_WAIT()
1589 … context->vs_const_i[4 * (StartRegister + i) + 2] = fui((float)(pConstantData[4 * i + 2])); in CSMT_ITEM_NO_WAIT()
[all …]
Ddevice9.c388 This->state.vs_const_i = CALLOC(NINE_MAX_CONST_I_SWVP * sizeof(int[4]), 1); in NineDevice9_ctor()
389 This->context.vs_const_i = CALLOC(NINE_MAX_CONST_I_SWVP * sizeof(int[4]), 1); in NineDevice9_ctor()
397 This->state.vs_const_i = CALLOC(NINE_MAX_CONST_I * sizeof(int[4]), 1); in NineDevice9_ctor()
398 This->context.vs_const_i = CALLOC(NINE_MAX_CONST_I * sizeof(int[4]), 1); in NineDevice9_ctor()
410 !This->state.vs_const_i || !This->context.vs_const_i || in NineDevice9_ctor()
540 FREE(This->state.vs_const_i); in NineDevice9_dtor()
541 FREE(This->context.vs_const_i); in NineDevice9_dtor()
2297 …nine_ranges_insert(&dst->changed.vs_const_i, 0, This->may_swvp ? NINE_MAX_CONST_I_SWVP : NINE_MAX_… in NineDevice9_CreateStateBlock()
3290 if (!memcmp(&state->vs_const_i[4 * StartRegister], pConstantData, in NineDevice9_SetVertexShaderConstantI()
3294 memcpy(&state->vs_const_i[4 * StartRegister], in NineDevice9_SetVertexShaderConstantI()
[all …]