Lines Matching refs:lighting
42 uint32_t lighting : 1;
43 uint32_t darkness : 1; /* lighting enabled but no active lights */
251 * NOTE: no lighting code is generated if there are no active lights
340 boolean need_aNrm = key->lighting || key->passthrough & (1 << NINE_DECLUSAGE_NORMAL);
342 boolean need_aVtx = key->lighting || key->fog_mode || key->pointscale || key->ucp;
382 if (key->lighting || key->darkness) {
435 if (key->lighting || key->vertexblend)
780 if (key->lighting) {
1632 key.lighting = !!context->rs[D3DRS_LIGHTING] && context->ff.num_lights_active;
1635 key.darkness = 0; /* |= key.lighting; */ /* XXX ? */
1636 key.lighting = 0;
1638 if ((key.lighting | key.darkness) && context->rs[D3DRS_COLORVERTEX]) {