Home
last modified time | relevance | path

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

/third_party/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.h174 struct nine_range *vs_const_f; member
195 float *vs_const_f; member
228 BOOL vs_const_f; member
262 float *vs_const_f; member
Ddevice9.c464 This->state.vs_const_f = CALLOC(NINE_MAX_CONST_F_SWVP * sizeof(float[4]),1); in NineDevice9_ctor()
475 This->state.vs_const_f = CALLOC(NINE_MAX_CONST_F * sizeof(float[4]), 1); in NineDevice9_ctor()
484 This->context.vs_const_f = CALLOC(This->vs_const_size, 1); in NineDevice9_ctor()
488 if (!This->state.vs_const_f || !This->context.vs_const_f || in NineDevice9_ctor()
623 FREE(This->state.vs_const_f); in NineDevice9_dtor()
624 FREE(This->context.vs_const_f); in NineDevice9_dtor()
2493 …nine_ranges_insert(&dst->changed.vs_const_f, 0, This->may_swvp ? NINE_MAX_CONST_F_SWVP : This->max… in NineDevice9_CreateStateBlock()
3492 float *vs_const_f = state->vs_const_f; in NineDevice9_SetVertexShaderConstantF() local
3505 memcpy(&vs_const_f[StartRegister * 4], in NineDevice9_SetVertexShaderConstantF()
3507 Vector4fCount * 4 * sizeof(state->vs_const_f[0])); in NineDevice9_SetVertexShaderConstantF()
[all …]
Dnine_state.c393 if (context->changed.vs_const_f || context->changed.group & NINE_STATE_SWVP) { in prepare_vs_constants_userbuf_swvp()
426 context->changed.vs_const_f = 0; in prepare_vs_constants_userbuf_swvp()
468 cb.user_buffer = context->vs_const_f; in prepare_vs_constants_userbuf()
476 int *idst = (int *)&context->vs_const_f[4 * device->max_vs_const_f]; in prepare_vs_constants_userbuf()
482 int *idst = (int *)&context->vs_const_f[4 * device->max_vs_const_f]; in prepare_vs_constants_userbuf()
546 context->changed.vs_const_f = 0; in prepare_vs_constants_userbuf()
1685 float *vs_const_f = device->may_swvp ? context->vs_const_f_swvp : context->vs_const_f; in CSMT_ITEM_NO_WAIT() local
1687 memcpy(&vs_const_f[StartRegister * 4], in CSMT_ITEM_NO_WAIT()
1694 memcpy(&context->vs_const_f[StartRegister * 4], in CSMT_ITEM_NO_WAIT()
1696 Vector4fCount * 4 * sizeof(context->vs_const_f[0])); in CSMT_ITEM_NO_WAIT()
[all …]