Lines Matching refs:pConstantData
3359 const float *pConstantData, in NineDevice9_SetVertexShaderConstantF() argument
3366 This, StartRegister, pConstantData, Vector4fCount); in NineDevice9_SetVertexShaderConstantF()
3373 user_assert(pConstantData, D3DERR_INVALIDCALL); in NineDevice9_SetVertexShaderConstantF()
3377 pConstantData, in NineDevice9_SetVertexShaderConstantF()
3389 if (!memcmp(&vs_const_f[StartRegister * 4], pConstantData, in NineDevice9_SetVertexShaderConstantF()
3394 pConstantData, in NineDevice9_SetVertexShaderConstantF()
3397 nine_context_set_vertex_shader_constant_f(This, StartRegister, pConstantData, in NineDevice9_SetVertexShaderConstantF()
3407 float *pConstantData, in NineDevice9_GetVertexShaderConstantF() argument
3415 user_assert(pConstantData, D3DERR_INVALIDCALL); in NineDevice9_GetVertexShaderConstantF()
3417 memcpy(pConstantData, in NineDevice9_GetVertexShaderConstantF()
3427 const int *pConstantData, in NineDevice9_SetVertexShaderConstantI() argument
3434 This, StartRegister, pConstantData, Vector4iCount); in NineDevice9_SetVertexShaderConstantI()
3440 user_assert(pConstantData, D3DERR_INVALIDCALL); in NineDevice9_SetVertexShaderConstantI()
3444 if (!memcmp(&state->vs_const_i[4 * StartRegister], pConstantData, in NineDevice9_SetVertexShaderConstantI()
3449 pConstantData, in NineDevice9_SetVertexShaderConstantI()
3453 state->vs_const_i[4 * (StartRegister + i)] = fui((float)(pConstantData[4 * i])); in NineDevice9_SetVertexShaderConstantI()
3454 state->vs_const_i[4 * (StartRegister + i) + 1] = fui((float)(pConstantData[4 * i + 1])); in NineDevice9_SetVertexShaderConstantI()
3455 state->vs_const_i[4 * (StartRegister + i) + 2] = fui((float)(pConstantData[4 * i + 2])); in NineDevice9_SetVertexShaderConstantI()
3456 state->vs_const_i[4 * (StartRegister + i) + 3] = fui((float)(pConstantData[4 * i + 3])); in NineDevice9_SetVertexShaderConstantI()
3466 nine_context_set_vertex_shader_constant_i(This, StartRegister, pConstantData, in NineDevice9_SetVertexShaderConstantI()
3475 int *pConstantData, in NineDevice9_GetVertexShaderConstantI() argument
3486 user_assert(pConstantData, D3DERR_INVALIDCALL); in NineDevice9_GetVertexShaderConstantI()
3489 memcpy(pConstantData, in NineDevice9_GetVertexShaderConstantI()
3494 pConstantData[4 * i] = (int32_t) uif(state->vs_const_i[4 * (StartRegister + i)]); in NineDevice9_GetVertexShaderConstantI()
3495 … pConstantData[4 * i + 1] = (int32_t) uif(state->vs_const_i[4 * (StartRegister + i) + 1]); in NineDevice9_GetVertexShaderConstantI()
3496 … pConstantData[4 * i + 2] = (int32_t) uif(state->vs_const_i[4 * (StartRegister + i) + 2]); in NineDevice9_GetVertexShaderConstantI()
3497 … pConstantData[4 * i + 3] = (int32_t) uif(state->vs_const_i[4 * (StartRegister + i) + 3]); in NineDevice9_GetVertexShaderConstantI()
3507 const BOOL *pConstantData, in NineDevice9_SetVertexShaderConstantB() argument
3515 This, StartRegister, pConstantData, BoolCount); in NineDevice9_SetVertexShaderConstantB()
3521 user_assert(pConstantData, D3DERR_INVALIDCALL); in NineDevice9_SetVertexShaderConstantB()
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()
3542 nine_context_set_vertex_shader_constant_b(This, StartRegister, pConstantData, in NineDevice9_SetVertexShaderConstantB()
3551 BOOL *pConstantData, in NineDevice9_GetVertexShaderConstantB() argument
3562 user_assert(pConstantData, D3DERR_INVALIDCALL); in NineDevice9_GetVertexShaderConstantB()
3565 pConstantData[i] = state->vs_const_b[StartRegister + i] != 0 ? TRUE : FALSE; in NineDevice9_GetVertexShaderConstantB()
3775 const float *pConstantData, in NineDevice9_SetPixelShaderConstantF() argument
3781 This, StartRegister, pConstantData, Vector4fCount); in NineDevice9_SetPixelShaderConstantF()
3788 user_assert(pConstantData, D3DERR_INVALIDCALL); in NineDevice9_SetPixelShaderConstantF()
3792 pConstantData, in NineDevice9_SetPixelShaderConstantF()
3803 if (!memcmp(&state->ps_const_f[StartRegister * 4], pConstantData, in NineDevice9_SetPixelShaderConstantF()
3808 pConstantData, in NineDevice9_SetPixelShaderConstantF()
3811 nine_context_set_pixel_shader_constant_f(This, StartRegister, pConstantData, in NineDevice9_SetPixelShaderConstantF()
3821 float *pConstantData, in NineDevice9_GetPixelShaderConstantF() argument
3829 user_assert(pConstantData, D3DERR_INVALIDCALL); in NineDevice9_GetPixelShaderConstantF()
3831 memcpy(pConstantData, in NineDevice9_GetPixelShaderConstantF()
3841 const int *pConstantData, in NineDevice9_SetPixelShaderConstantI() argument
3848 This, StartRegister, pConstantData, Vector4iCount); in NineDevice9_SetPixelShaderConstantI()
3852 user_assert(pConstantData, D3DERR_INVALIDCALL); in NineDevice9_SetPixelShaderConstantI()
3856 if (!memcmp(&state->ps_const_i[StartRegister][0], pConstantData, in NineDevice9_SetPixelShaderConstantI()
3861 pConstantData, in NineDevice9_SetPixelShaderConstantI()
3865 state->ps_const_i[StartRegister+i][0] = fui((float)(pConstantData[4*i])); in NineDevice9_SetPixelShaderConstantI()
3866 state->ps_const_i[StartRegister+i][1] = fui((float)(pConstantData[4*i+1])); in NineDevice9_SetPixelShaderConstantI()
3867 state->ps_const_i[StartRegister+i][2] = fui((float)(pConstantData[4*i+2])); in NineDevice9_SetPixelShaderConstantI()
3868 state->ps_const_i[StartRegister+i][3] = fui((float)(pConstantData[4*i+3])); in NineDevice9_SetPixelShaderConstantI()
3876 nine_context_set_pixel_shader_constant_i(This, StartRegister, pConstantData, in NineDevice9_SetPixelShaderConstantI()
3885 int *pConstantData, in NineDevice9_GetPixelShaderConstantI() argument
3894 user_assert(pConstantData, D3DERR_INVALIDCALL); in NineDevice9_GetPixelShaderConstantI()
3897 memcpy(pConstantData, in NineDevice9_GetPixelShaderConstantI()
3902 pConstantData[4*i] = (int32_t) uif(state->ps_const_i[StartRegister+i][0]); in NineDevice9_GetPixelShaderConstantI()
3903 pConstantData[4*i+1] = (int32_t) uif(state->ps_const_i[StartRegister+i][1]); in NineDevice9_GetPixelShaderConstantI()
3904 pConstantData[4*i+2] = (int32_t) uif(state->ps_const_i[StartRegister+i][2]); in NineDevice9_GetPixelShaderConstantI()
3905 pConstantData[4*i+3] = (int32_t) uif(state->ps_const_i[StartRegister+i][3]); in NineDevice9_GetPixelShaderConstantI()
3915 const BOOL *pConstantData, in NineDevice9_SetPixelShaderConstantB() argument
3923 This, StartRegister, pConstantData, BoolCount); in NineDevice9_SetPixelShaderConstantB()
3927 user_assert(pConstantData, D3DERR_INVALIDCALL); in NineDevice9_SetPixelShaderConstantB()
3932 if (!!state->ps_const_b[StartRegister + i] != !!pConstantData[i]) in NineDevice9_SetPixelShaderConstantB()
3940 state->ps_const_b[StartRegister + i] = pConstantData[i] ? bool_true : 0; in NineDevice9_SetPixelShaderConstantB()
3946 nine_context_set_pixel_shader_constant_b(This, StartRegister, pConstantData, in NineDevice9_SetPixelShaderConstantB()
3955 BOOL *pConstantData, in NineDevice9_GetPixelShaderConstantB() argument
3964 user_assert(pConstantData, D3DERR_INVALIDCALL); in NineDevice9_GetPixelShaderConstantB()
3967 pConstantData[i] = state->ps_const_b[StartRegister + i] ? TRUE : FALSE; in NineDevice9_GetPixelShaderConstantB()