Home
last modified time | relevance | path

Searched refs:num_lights_active (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/nine/
Dstateblock9.c371 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()
Dnine_state.c1940 unsigned int num_lights_active) in nine_context_light_enable_stateblock() argument
1947 context->ff.num_lights_active = num_lights_active; in nine_context_light_enable_stateblock()
2180 … nine_context_light_enable_stateblock(device, src->ff.active_light, src->ff.num_lights_active); in nine_context_apply_stateblock()
3644 for (i = 0; i < ff_state->num_lights_active; ++i) { in nine_state_light_enable()
3650 if (i < ff_state->num_lights_active) in nine_state_light_enable()
3657 ff_state->num_lights_active++; in nine_state_light_enable()
3659 if (i == ff_state->num_lights_active) in nine_state_light_enable()
3661 --ff_state->num_lights_active; in nine_state_light_enable()
3662 for (; i < ff_state->num_lights_active; ++i) in nine_state_light_enable()
Dnine_state.h158 unsigned num_lights_active; member
Dnine_ff.c1629 key.lighting = !!context->rs[D3DRS_LIGHTING] && context->ff.num_lights_active; in nine_ff_get_vs()
1630 key.darkness = !!context->rs[D3DRS_LIGHTING] && !context->ff.num_lights_active; in nine_ff_get_vs()
1925 for (l = 0; l < context->ff.num_lights_active; ++l) { in nine_ff_load_lights()
1942 dst[39 + l * 8].w = (float)((l + 1) == context->ff.num_lights_active); in nine_ff_load_lights()
Ddevice9.c2358 for (i = 0; i < state->ff.num_lights_active; ++i) in NineDevice9_GetLightEnable()
2362 *pEnable = i != state->ff.num_lights_active ? 128 : 0; // Taken from wine in NineDevice9_GetLightEnable()