Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/frontends/nine/
Dstateblock9.c52 This->state.vs_const_b = MALLOC(VS_CONST_B_SIZE(This->base.device)); in NineStateBlock9_ctor()
54 !This->state.vs_const_i || !This->state.vs_const_b) in NineStateBlock9_ctor()
84 FREE(state->vs_const_b); in NineStateBlock9_dtor()
102 if (This->state.changed.vs_const_b) { in NineStateBlock9_dtor()
103 for (r = This->state.changed.vs_const_b; r->next; r = r->next); in NineStateBlock9_dtor()
104 nine_range_pool_put_chain(pool, This->state.changed.vs_const_b, r); in NineStateBlock9_dtor()
192 for (r = mask->changed.vs_const_b; r; r = r->next) { in nine_state_copy_common()
193 memcpy(&dst->vs_const_b[r->bgn], in nine_state_copy_common()
194 &src->vs_const_b[r->bgn], in nine_state_copy_common()
421 memcpy(dst->vs_const_b, src->vs_const_b, VS_CONST_B_SIZE(device)); in nine_state_copy_common_all()
Dnine_state.h178 struct nine_range *vs_const_b; member
197 BOOL *vs_const_b; member
230 BOOL vs_const_b; member
265 BOOL *vs_const_b; member
Dvertexshader9.h109 context->vs_const_b)) << 16; in NineVertexShader9_UpdateKey()
Dnine_state.c442 if (context->changed.vs_const_b || context->changed.group & NINE_STATE_SWVP) { in prepare_vs_constants_userbuf_swvp()
447 cb.user_buffer = context->vs_const_b; in prepare_vs_constants_userbuf_swvp()
452 context->changed.vs_const_b = 0; in prepare_vs_constants_userbuf_swvp()
481 if (context->changed.vs_const_b || context->changed.group & NINE_STATE_SWVP) { in prepare_vs_constants_userbuf()
484 memcpy(bdst, context->vs_const_b, NINE_MAX_CONST_B * sizeof(BOOL)); in prepare_vs_constants_userbuf()
485 context->changed.vs_const_b = 0; in prepare_vs_constants_userbuf()
1742 context->vs_const_b[StartRegister + i] = pConstantData[i] ? bool_true : 0; in CSMT_ITEM_NO_WAIT()
1744 context->changed.vs_const_b = TRUE; in CSMT_ITEM_NO_WAIT()
2114 for (r = src->changed.vs_const_b; r; r = r->next) in nine_context_apply_stateblock()
2116 &src->vs_const_b[r->bgn * 4], in nine_context_apply_stateblock()
[all …]
Ddevice9.c472 This->state.vs_const_b = CALLOC(NINE_MAX_CONST_B_SWVP * sizeof(BOOL), 1); in NineDevice9_ctor()
473 This->context.vs_const_b = CALLOC(NINE_MAX_CONST_B_SWVP * sizeof(BOOL), 1); in NineDevice9_ctor()
481 This->state.vs_const_b = CALLOC(NINE_MAX_CONST_B * sizeof(BOOL), 1); in NineDevice9_ctor()
482 This->context.vs_const_b = CALLOC(NINE_MAX_CONST_B * sizeof(BOOL), 1); in NineDevice9_ctor()
493 !This->state.vs_const_b || !This->context.vs_const_b) in NineDevice9_ctor()
632 FREE(This->state.vs_const_b); in NineDevice9_dtor()
633 FREE(This->context.vs_const_b); in NineDevice9_dtor()
2497 …nine_ranges_insert(&dst->changed.vs_const_b, 0, This->may_swvp ? NINE_MAX_CONST_B_SWVP : NINE_MAX_… in NineDevice9_CreateStateBlock()
3655 if (!!state->vs_const_b[StartRegister + i] != !!pConstantData[i]) in NineDevice9_SetVertexShaderConstantB()
3663 state->vs_const_b[StartRegister + i] = pConstantData[i] ? bool_true : 0; in NineDevice9_SetVertexShaderConstantB()
[all …]