Searched refs:num_lights_active (Results 1 - 10 of 10) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/
H A Dstateblock9.c371 dst->ff.num_lights_active = src->ff.num_lights_active;
507 dst->ff.num_lights_active = src->ff.num_lights_active;
H A Dnine_state.c1889 unsigned int num_lights_active)
1896 context->ff.num_lights_active = num_lights_active;
2129 nine_context_light_enable_stateblock(device, src->ff.active_light, src->ff.num_lights_active);
3573 for (i = 0; i < ff_state->num_lights_active; ++i) {
3579 if (i < ff_state->num_lights_active)
3586 ff_state->num_lights_active++;
3588 if (i == ff_state->num_lights_active)
3590 --ff_state->num_lights_active;
3591 for (; i < ff_state->num_lights_active;
1887 nine_context_light_enable_stateblock(struct NineDevice9 * device,const uint16_t active_light[NINE_MAX_LIGHTS_ACTIVE],unsigned int num_lights_active) argument
[all...]
H A Dnine_state.h156 unsigned num_lights_active; member in struct:nine_ff_state
H A Dnine_ff.c1624 key.lighting = !!context->rs[D3DRS_LIGHTING] && context->ff.num_lights_active;
1625 key.darkness = !!context->rs[D3DRS_LIGHTING] && !context->ff.num_lights_active;
1925 for (l = 0; l < context->ff.num_lights_active; ++l) {
1942 dst[39 + l * 8].w = (float)((l + 1) == context->ff.num_lights_active);
H A Ddevice9.c2213 for (i = 0; i < state->ff.num_lights_active; ++i)
2217 *pEnable = i != state->ff.num_lights_active ? 128 : 0; // Taken from wine
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/
H A Dstateblock9.c371 dst->ff.num_lights_active = src->ff.num_lights_active;
507 dst->ff.num_lights_active = src->ff.num_lights_active;
H A Dnine_state.c1940 unsigned int num_lights_active)
1947 context->ff.num_lights_active = num_lights_active;
2180 nine_context_light_enable_stateblock(device, src->ff.active_light, src->ff.num_lights_active);
3644 for (i = 0; i < ff_state->num_lights_active; ++i) {
3650 if (i < ff_state->num_lights_active)
3657 ff_state->num_lights_active++;
3659 if (i == ff_state->num_lights_active)
3661 --ff_state->num_lights_active;
3662 for (; i < ff_state->num_lights_active;
1938 nine_context_light_enable_stateblock(struct NineDevice9 * device,const uint16_t active_light[NINE_MAX_LIGHTS_ACTIVE],unsigned int num_lights_active) argument
[all...]
H A Dnine_state.h158 unsigned num_lights_active; member in struct:nine_ff_state
H A Dnine_ff.c1629 key.lighting = !!context->rs[D3DRS_LIGHTING] && context->ff.num_lights_active;
1630 key.darkness = !!context->rs[D3DRS_LIGHTING] && !context->ff.num_lights_active;
1925 for (l = 0; l < context->ff.num_lights_active; ++l) {
1942 dst[39 + l * 8].w = (float)((l + 1) == context->ff.num_lights_active);
H A Ddevice9.c2358 for (i = 0; i < state->ff.num_lights_active; ++i)
2362 *pEnable = i != state->ff.num_lights_active ? 128 : 0; // Taken from wine

Completed in 32 milliseconds