Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/nine/
Dstateblock9.c188 if (mask->changed.ps_const_i) { in nine_state_copy_common()
189 uint16_t m = mask->changed.ps_const_i; in nine_state_copy_common()
192 memcpy(dst->ps_const_i[i], src->ps_const_i[i], 4 * sizeof(int)); in nine_state_copy_common()
409 memcpy(dst->ps_const_i, src->ps_const_i, sizeof(dst->ps_const_i)); in nine_state_copy_common_all()
Dnine_state.h174 uint16_t ps_const_i; /* NINE_MAX_CONST_I == 16 */ member
199 int ps_const_i[NINE_MAX_CONST_I][4]; member
229 BOOL ps_const_i; member
263 int ps_const_i[NINE_MAX_CONST_I][4]; member
Dnine_state.c493 if (context->changed.ps_const_i) { in prepare_ps_constants_userbuf()
495 memcpy(idst, context->ps_const_i, sizeof(context->ps_const_i)); in prepare_ps_constants_userbuf()
496 context->changed.ps_const_i = 0; in prepare_ps_constants_userbuf()
1664 memcpy(&context->ps_const_i[StartRegister][0], in CSMT_ITEM_NO_WAIT()
1666 Vector4iCount * sizeof(context->ps_const_i[0])); in CSMT_ITEM_NO_WAIT()
1668 context->changed.ps_const_i = TRUE; in CSMT_ITEM_NO_WAIT()
1682 memcpy(&context->ps_const_i[StartRegister][0], in CSMT_ITEM_NO_WAIT()
1687 context->ps_const_i[StartRegister+i][0] = fui((float)(pConstantData[4*i])); in CSMT_ITEM_NO_WAIT()
1688 context->ps_const_i[StartRegister+i][1] = fui((float)(pConstantData[4*i+1])); in CSMT_ITEM_NO_WAIT()
1689 context->ps_const_i[StartRegister+i][2] = fui((float)(pConstantData[4*i+2])); in CSMT_ITEM_NO_WAIT()
[all …]
Ddevice9.c2326 dst->changed.ps_const_i = 0xffff; in NineDevice9_CreateStateBlock()
3701 if (!memcmp(&state->ps_const_i[StartRegister][0], pConstantData, in NineDevice9_SetPixelShaderConstantI()
3702 Vector4iCount * sizeof(state->ps_const_i[0]))) in NineDevice9_SetPixelShaderConstantI()
3705 memcpy(&state->ps_const_i[StartRegister][0], in NineDevice9_SetPixelShaderConstantI()
3707 Vector4iCount * sizeof(state->ps_const_i[0])); in NineDevice9_SetPixelShaderConstantI()
3710 state->ps_const_i[StartRegister+i][0] = fui((float)(pConstantData[4*i])); in NineDevice9_SetPixelShaderConstantI()
3711 state->ps_const_i[StartRegister+i][1] = fui((float)(pConstantData[4*i+1])); in NineDevice9_SetPixelShaderConstantI()
3712 state->ps_const_i[StartRegister+i][2] = fui((float)(pConstantData[4*i+2])); in NineDevice9_SetPixelShaderConstantI()
3713 state->ps_const_i[StartRegister+i][3] = fui((float)(pConstantData[4*i+3])); in NineDevice9_SetPixelShaderConstantI()
3718 state->changed.ps_const_i |= ((1 << Vector4iCount) - 1) << StartRegister; in NineDevice9_SetPixelShaderConstantI()
[all …]