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.c230 #define USE_COLOR_MATERIAL(attr, side) \ macro
243 if (USE_COLOR_MATERIAL(AMBIENT, side)) { in nv20_emit_material_ambient()
247 } else if (USE_COLOR_MATERIAL(EMISSION, side)) { in nv20_emit_material_ambient()
267 float *c_light = (USE_COLOR_MATERIAL(AMBIENT, side) ? in nv20_emit_material_ambient()
289 float *c_light = (USE_COLOR_MATERIAL(DIFFUSE, side) ? in nv20_emit_material_diffuse()
307 float *c_light = (USE_COLOR_MATERIAL(SPECULAR, side) ? in nv20_emit_material_specular()
Dnv10_state_tnl.c314 #define USE_COLOR_MATERIAL(attr) \ macro
326 if (USE_COLOR_MATERIAL(AMBIENT)) { in nv10_emit_material_ambient()
330 } else if (USE_COLOR_MATERIAL(EMISSION)) { in nv10_emit_material_ambient()
350 float *c_light = (USE_COLOR_MATERIAL(AMBIENT) ? in nv10_emit_material_ambient()
371 float *c_light = (USE_COLOR_MATERIAL(DIFFUSE) ? in nv10_emit_material_diffuse()
388 float *c_light = (USE_COLOR_MATERIAL(SPECULAR) ? in nv10_emit_material_specular()