Home
last modified time | relevance | path

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

/external/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.h176 struct nine_range *vs_const_b; member
195 BOOL *vs_const_b; member
228 BOOL vs_const_b; member
263 BOOL *vs_const_b; member
Dvertexshader9.h109 context->vs_const_b)) << 16; in NineVertexShader9_UpdateKey()
Dnine_state.c415 if (context->changed.vs_const_b || context->changed.group & NINE_STATE_SWVP) { in prepare_vs_constants_userbuf_swvp()
420 cb.user_buffer = context->vs_const_b; in prepare_vs_constants_userbuf_swvp()
425 context->changed.vs_const_b = 0; in prepare_vs_constants_userbuf_swvp()
454 if (context->changed.vs_const_b || context->changed.group & NINE_STATE_SWVP) { in prepare_vs_constants_userbuf()
457 memcpy(bdst, context->vs_const_b, NINE_MAX_CONST_B * sizeof(BOOL)); in prepare_vs_constants_userbuf()
458 context->changed.vs_const_b = 0; in prepare_vs_constants_userbuf()
1686 context->vs_const_b[StartRegister + i] = pConstantData[i] ? bool_true : 0; in CSMT_ITEM_NO_WAIT()
1688 context->changed.vs_const_b = TRUE; in CSMT_ITEM_NO_WAIT()
2064 for (r = src->changed.vs_const_b; r; r = r->next) in nine_context_apply_stateblock()
2066 &src->vs_const_b[r->bgn * 4], in nine_context_apply_stateblock()
[all …]
Ddevice9.c430 This->state.vs_const_b = CALLOC(NINE_MAX_CONST_B_SWVP * sizeof(BOOL), 1); in NineDevice9_ctor()
431 This->context.vs_const_b = CALLOC(NINE_MAX_CONST_B_SWVP * sizeof(BOOL), 1); in NineDevice9_ctor()
439 This->state.vs_const_b = CALLOC(NINE_MAX_CONST_B * sizeof(BOOL), 1); in NineDevice9_ctor()
440 This->context.vs_const_b = CALLOC(NINE_MAX_CONST_B * sizeof(BOOL), 1); in NineDevice9_ctor()
451 !This->state.vs_const_b || !This->context.vs_const_b) in NineDevice9_ctor()
588 FREE(This->state.vs_const_b); in NineDevice9_dtor()
589 FREE(This->context.vs_const_b); in NineDevice9_dtor()
2436 …nine_ranges_insert(&dst->changed.vs_const_b, 0, This->may_swvp ? NINE_MAX_CONST_B_SWVP : NINE_MAX_… in NineDevice9_CreateStateBlock()
3526 if (!!state->vs_const_b[StartRegister + i] != !!pConstantData[i]) in NineDevice9_SetVertexShaderConstantB()
3534 state->vs_const_b[StartRegister + i] = pConstantData[i] ? bool_true : 0; in NineDevice9_SetVertexShaderConstantB()
[all …]