Searched refs:num_lights_active (Results 1 – 5 of 5) sorted by relevance
371 dst->ff.num_lights_active = src->ff.num_lights_active; in nine_state_copy_common()507 dst->ff.num_lights_active = src->ff.num_lights_active; in nine_state_copy_common_all()
1890 unsigned int num_lights_active) in nine_context_light_enable_stateblock() argument1897 context->ff.num_lights_active = num_lights_active; in nine_context_light_enable_stateblock()2130 … nine_context_light_enable_stateblock(device, src->ff.active_light, src->ff.num_lights_active); in nine_context_apply_stateblock()3581 for (i = 0; i < ff_state->num_lights_active; ++i) { in nine_state_light_enable()3587 if (i < ff_state->num_lights_active) in nine_state_light_enable()3594 ff_state->num_lights_active++; in nine_state_light_enable()3596 if (i == ff_state->num_lights_active) in nine_state_light_enable()3598 --ff_state->num_lights_active; in nine_state_light_enable()3599 for (; i < ff_state->num_lights_active; ++i) in nine_state_light_enable()
156 unsigned num_lights_active; member
1623 key.lighting = !!context->rs[D3DRS_LIGHTING] && context->ff.num_lights_active; in nine_ff_get_vs()1624 key.darkness = !!context->rs[D3DRS_LIGHTING] && !context->ff.num_lights_active; in nine_ff_get_vs()1919 for (l = 0; l < context->ff.num_lights_active; ++l) { in nine_ff_load_lights()1936 dst[39 + l * 8].w = (float)((l + 1) == context->ff.num_lights_active); in nine_ff_load_lights()
2297 for (i = 0; i < state->ff.num_lights_active; ++i) in NineDevice9_GetLightEnable()2301 *pEnable = i != state->ff.num_lights_active ? 128 : 0; // Taken from wine in NineDevice9_GetLightEnable()