Searched refs:num_lights (Results 1 – 5 of 5) sorted by relevance
332 unsigned num_lights = MAX2(dst->ff.num_lights, src->ff.num_lights); in nine_state_copy_common() local337 if (dst->ff.num_lights < num_lights) { in nine_state_copy_common()339 dst->ff.num_lights * sizeof(D3DLIGHT9), in nine_state_copy_common()340 num_lights * sizeof(D3DLIGHT9)); in nine_state_copy_common()341 …memset(&dst->ff.light[dst->ff.num_lights], 0, (num_lights - dst->ff.num_lights) * sizeof(D3DLIGHT9… in nine_state_copy_common()346 for (i = dst->ff.num_lights; i < num_lights; ++i) in nine_state_copy_common()349 dst->ff.num_lights = num_lights; in nine_state_copy_common()355 if (src->ff.num_lights < num_lights) { in nine_state_copy_common()357 src->ff.num_lights * sizeof(D3DLIGHT9), in nine_state_copy_common()358 num_lights * sizeof(D3DLIGHT9)); in nine_state_copy_common()[all …]
157 unsigned num_lights; member
2304 user_assert(Index < state->ff.num_lights, D3DERR_INVALIDCALL); in NineDevice9_GetLight()2322 if (Index >= state->ff.num_lights || in NineDevice9_LightEnable()2354 user_assert(Index < state->ff.num_lights, D3DERR_INVALIDCALL); in NineDevice9_GetLightEnable()2501 if (This->state.ff.num_lights) { in NineDevice9_CreateStateBlock()2502 dst->ff.num_lights = This->state.ff.num_lights; in NineDevice9_CreateStateBlock()2506 dst->ff.light = CALLOC(This->state.ff.num_lights, in NineDevice9_CreateStateBlock()
2172 for (i = 0; i < src->ff.num_lights; ++i) in nine_context_apply_stateblock()3619 if (Index >= ff_state->num_lights) { in nine_state_set_light()3620 unsigned n = ff_state->num_lights; in nine_state_set_light()3627 ff_state->num_lights = N; in nine_state_set_light()3649 user_assert(Index < ff_state->num_lights, D3DERR_INVALIDCALL); in nine_state_light_enable()
133 const unsigned num_lights = state[2]; in fetch_state() local134 for (unsigned i = 0; i < num_lights; i++) { in fetch_state()192 const unsigned num_lights = state[2]; in fetch_state() local194 for (unsigned i = 0; i < num_lights; i++) { in fetch_state()218 const unsigned num_lights = state[2]; in fetch_state() local220 for (unsigned i = 0; i < num_lights; i++) { in fetch_state()244 const unsigned num_lights = state[2]; in fetch_state() local246 for (unsigned i = 0; i < num_lights; i++) { in fetch_state()657 const unsigned num_lights = state[2]; in fetch_state() local658 for (unsigned i = 0; i < num_lights; i++) { in fetch_state()[all …]