Searched refs:num_lights (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | stateblock9.c | 311 unsigned num_lights = MAX2(dst->ff.num_lights, src->ff.num_lights); in nine_state_copy_common() local 316 if (dst->ff.num_lights < num_lights) { in nine_state_copy_common() 318 dst->ff.num_lights * sizeof(D3DLIGHT9), in nine_state_copy_common() 319 num_lights * sizeof(D3DLIGHT9)); in nine_state_copy_common() 320 …memset(&dst->ff.light[dst->ff.num_lights], 0, (num_lights - dst->ff.num_lights) * sizeof(D3DLIGHT9… in nine_state_copy_common() 325 for (i = dst->ff.num_lights; i < num_lights; ++i) in nine_state_copy_common() 328 dst->ff.num_lights = num_lights; in nine_state_copy_common() 334 if (src->ff.num_lights < num_lights) { in nine_state_copy_common() 336 src->ff.num_lights * sizeof(D3DLIGHT9), in nine_state_copy_common() 337 num_lights * sizeof(D3DLIGHT9)); in nine_state_copy_common() [all …]
|
D | nine_state.c | 2087 unsigned num_lights = MAX2(context->ff.num_lights, src->ff.num_lights); 2090 if (context->ff.num_lights < num_lights) { 2092 context->ff.num_lights * sizeof(D3DLIGHT9), 2093 num_lights * sizeof(D3DLIGHT9)); 2094 …memset(&context->ff.light[context->ff.num_lights], 0, (num_lights - context->ff.num_lights) * size… 2095 for (i = context->ff.num_lights; i < num_lights; ++i) 2097 context->ff.num_lights = num_lights; 2100 assert (src->ff.num_lights == num_lights); 2102 for (i = 0; i < num_lights; ++i) 2280 for (i = 0; i < src->ff.num_lights; ++i) in nine_context_apply_stateblock() [all …]
|
D | nine_state.h | 154 unsigned num_lights; member
|
D | device9.c | 2116 user_assert(Index < state->ff.num_lights, D3DERR_INVALIDCALL); in NineDevice9_GetLight() 2134 if (Index >= state->ff.num_lights || in NineDevice9_LightEnable() 2162 user_assert(Index < state->ff.num_lights, D3DERR_INVALIDCALL); in NineDevice9_GetLightEnable() 2303 if (This->state.ff.num_lights) { in NineDevice9_CreateStateBlock() 2304 dst->ff.num_lights = This->state.ff.num_lights; in NineDevice9_CreateStateBlock() 2308 dst->ff.light = CALLOC(This->state.ff.num_lights, in NineDevice9_CreateStateBlock()
|