Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/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()
69 FREE(state->vs_const_f); in NineStateBlock9_dtor()
82 if (This->state.changed.vs_const_f) { in NineStateBlock9_dtor()
83 for (r = This->state.changed.vs_const_f; r->next; r = r->next); in NineStateBlock9_dtor()
84 nine_range_pool_put_chain(pool, This->state.changed.vs_const_f, r); in NineStateBlock9_dtor()
163 for (r = mask->changed.vs_const_f; r; r = r->next) { in nine_state_copy_common()
164 memcpy(&dst->vs_const_f[r->bgn * 4], in nine_state_copy_common()
165 &src->vs_const_f[r->bgn * 4], in nine_state_copy_common()
396 memcpy(&dst->vs_const_f[0], in nine_state_copy_common_all()
[all …]
Dnine_state.h171 struct nine_range *vs_const_f; member
192 float *vs_const_f; member
225 BOOL vs_const_f; member
255 float *vs_const_f; member
Dnine_state.c361 if (context->changed.vs_const_f || context->changed.group & NINE_STATE_SWVP) { in prepare_vs_constants_userbuf_swvp()
394 context->changed.vs_const_f = 0; in prepare_vs_constants_userbuf_swvp()
435 cb.user_buffer = context->vs_const_f; in prepare_vs_constants_userbuf()
443 int *idst = (int *)&context->vs_const_f[4 * device->max_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()
477 context->changed.vs_const_f = 0; in prepare_vs_constants_userbuf()
1554 float *vs_const_f = device->may_swvp ? context->vs_const_f_swvp : context->vs_const_f; in CSMT_ITEM_NO_WAIT() local
1556 memcpy(&vs_const_f[StartRegister * 4], in CSMT_ITEM_NO_WAIT()
1563 memcpy(&context->vs_const_f[StartRegister * 4], in CSMT_ITEM_NO_WAIT()
1565 Vector4fCount * 4 * sizeof(context->vs_const_f[0])); in CSMT_ITEM_NO_WAIT()
[all …]
Ddevice9.c382 This->state.vs_const_f = CALLOC(NINE_MAX_CONST_F_SWVP * sizeof(float[4]),1); in NineDevice9_ctor()
393 This->state.vs_const_f = CALLOC(NINE_MAX_CONST_F * sizeof(float[4]), 1); in NineDevice9_ctor()
402 This->context.vs_const_f = CALLOC(This->vs_const_size, 1); in NineDevice9_ctor()
406 if (!This->state.vs_const_f || !This->context.vs_const_f || in NineDevice9_ctor()
533 FREE(This->state.vs_const_f); in NineDevice9_dtor()
534 FREE(This->context.vs_const_f); in NineDevice9_dtor()
2295 …nine_ranges_insert(&dst->changed.vs_const_f, 0, This->may_swvp ? NINE_MAX_CONST_F_SWVP : This->max… in NineDevice9_CreateStateBlock()
3210 float *vs_const_f = state->vs_const_f; in NineDevice9_SetVertexShaderConstantF() local
3223 memcpy(&vs_const_f[StartRegister * 4], in NineDevice9_SetVertexShaderConstantF()
3225 Vector4fCount * 4 * sizeof(state->vs_const_f[0])); in NineDevice9_SetVertexShaderConstantF()
[all …]