Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/frontends/nine/
Dstateblock9.c49 This->state.vs_const_f = MALLOC(VS_CONST_F_SIZE(This->base.device)); in NineStateBlock9_ctor()
53 if (!This->state.vs_const_f || !This->state.ps_const_f || in NineStateBlock9_ctor()
81 FREE(state->vs_const_f); in NineStateBlock9_dtor()
94 if (This->state.changed.vs_const_f) { in NineStateBlock9_dtor()
95 for (r = This->state.changed.vs_const_f; r->next; r = r->next); in NineStateBlock9_dtor()
96 nine_range_pool_put_chain(pool, This->state.changed.vs_const_f, r); in NineStateBlock9_dtor()
182 for (r = mask->changed.vs_const_f; r; r = r->next) { in nine_state_copy_common()
183 memcpy(&dst->vs_const_f[r->bgn * 4], in nine_state_copy_common()
184 &src->vs_const_f[r->bgn * 4], in nine_state_copy_common()
417 memcpy(&dst->vs_const_f[0], in nine_state_copy_common_all()
[all …]
Dnine_state.h172 struct nine_range *vs_const_f; member
193 float *vs_const_f; member
226 BOOL vs_const_f; member
260 float *vs_const_f; member
Ddevice9.c422 This->state.vs_const_f = CALLOC(NINE_MAX_CONST_F_SWVP * sizeof(float[4]),1); in NineDevice9_ctor()
433 This->state.vs_const_f = CALLOC(NINE_MAX_CONST_F * sizeof(float[4]), 1); in NineDevice9_ctor()
442 This->context.vs_const_f = CALLOC(This->vs_const_size, 1); in NineDevice9_ctor()
446 if (!This->state.vs_const_f || !This->context.vs_const_f || in NineDevice9_ctor()
579 FREE(This->state.vs_const_f); in NineDevice9_dtor()
580 FREE(This->context.vs_const_f); in NineDevice9_dtor()
2432 …nine_ranges_insert(&dst->changed.vs_const_f, 0, This->may_swvp ? NINE_MAX_CONST_F_SWVP : This->max… in NineDevice9_CreateStateBlock()
3363 float *vs_const_f = state->vs_const_f; in NineDevice9_SetVertexShaderConstantF() local
3376 memcpy(&vs_const_f[StartRegister * 4], in NineDevice9_SetVertexShaderConstantF()
3378 Vector4fCount * 4 * sizeof(state->vs_const_f[0])); in NineDevice9_SetVertexShaderConstantF()
[all …]
Dnine_state.c366 if (context->changed.vs_const_f || context->changed.group & NINE_STATE_SWVP) { in prepare_vs_constants_userbuf_swvp()
399 context->changed.vs_const_f = 0; in prepare_vs_constants_userbuf_swvp()
441 cb.user_buffer = context->vs_const_f; in prepare_vs_constants_userbuf()
449 int *idst = (int *)&context->vs_const_f[4 * device->max_vs_const_f]; in prepare_vs_constants_userbuf()
455 int *idst = (int *)&context->vs_const_f[4 * device->max_vs_const_f]; in prepare_vs_constants_userbuf()
519 context->changed.vs_const_f = 0; in prepare_vs_constants_userbuf()
1629 float *vs_const_f = device->may_swvp ? context->vs_const_f_swvp : context->vs_const_f; in CSMT_ITEM_NO_WAIT() local
1631 memcpy(&vs_const_f[StartRegister * 4], in CSMT_ITEM_NO_WAIT()
1638 memcpy(&context->vs_const_f[StartRegister * 4], in CSMT_ITEM_NO_WAIT()
1640 Vector4fCount * 4 * sizeof(context->vs_const_f[0])); in CSMT_ITEM_NO_WAIT()
[all …]