Home
last modified time | relevance | path

Searched refs:USE_COLOR_MATERIAL (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_state_tnl.c231 #define USE_COLOR_MATERIAL(attr, side) \ macro
244 if (USE_COLOR_MATERIAL(AMBIENT, side)) { in nv20_emit_material_ambient()
248 } else if (USE_COLOR_MATERIAL(EMISSION, side)) { in nv20_emit_material_ambient()
270 float *c_light = (USE_COLOR_MATERIAL(AMBIENT, side) ? in nv20_emit_material_ambient()
294 float *c_light = (USE_COLOR_MATERIAL(DIFFUSE, side) ? in nv20_emit_material_diffuse()
314 float *c_light = (USE_COLOR_MATERIAL(SPECULAR, side) ? in nv20_emit_material_specular()
Dnv10_state_tnl.c315 #define USE_COLOR_MATERIAL(attr) \ macro
327 if (USE_COLOR_MATERIAL(AMBIENT)) { in nv10_emit_material_ambient()
331 } else if (USE_COLOR_MATERIAL(EMISSION)) { in nv10_emit_material_ambient()
353 float *c_light = (USE_COLOR_MATERIAL(AMBIENT) ? in nv10_emit_material_ambient()
376 float *c_light = (USE_COLOR_MATERIAL(DIFFUSE) ? in nv10_emit_material_diffuse()
395 float *c_light = (USE_COLOR_MATERIAL(SPECULAR) ? in nv10_emit_material_specular()