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()
2176 for (i = 0; i < src->ff.num_lights; ++i) in nine_context_apply_stateblock()3612 if (Index >= ff_state->num_lights) { in nine_state_set_light()3613 unsigned n = ff_state->num_lights; in nine_state_set_light()3620 ff_state->num_lights = N; in nine_state_set_light()3642 user_assert(Index < ff_state->num_lights, D3DERR_INVALIDCALL); in nine_state_light_enable()
134 const unsigned num_lights = state[2]; in fetch_state() local135 for (unsigned i = 0; i < num_lights; i++) { in fetch_state()193 const unsigned num_lights = state[2]; in fetch_state() local195 for (unsigned i = 0; i < num_lights; i++) { in fetch_state()219 const unsigned num_lights = state[2]; in fetch_state() local221 for (unsigned i = 0; i < num_lights; i++) { in fetch_state()245 const unsigned num_lights = state[2]; in fetch_state() local247 for (unsigned i = 0; i < num_lights; i++) { in fetch_state()658 const unsigned num_lights = state[2]; in fetch_state() local659 for (unsigned i = 0; i < num_lights; i++) { in fetch_state()[all …]