Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_state_tnl.c241 float c_scene[3], c_factor[3]; in nv20_emit_material_ambient() local
245 COPY_3V(c_scene, mat[MAT_ATTRIB_EMISSION(side)]); in nv20_emit_material_ambient()
249 SCALE_3V(c_scene, mat[MAT_ATTRIB_AMBIENT(side)], in nv20_emit_material_ambient()
254 COPY_3V(c_scene, ctx->Light._BaseColor[side]); in nv20_emit_material_ambient()
259 PUSH_DATAp(push, c_scene, 3); in nv20_emit_material_ambient()
Dnv10_state_tnl.c324 float c_scene[3], c_factor[3]; in nv10_emit_material_ambient() local
328 COPY_3V(c_scene, ctx->Light.Model.Ambient); in nv10_emit_material_ambient()
332 SCALE_3V(c_scene, mat[MAT_ATTRIB_FRONT_AMBIENT], in nv10_emit_material_ambient()
337 COPY_3V(c_scene, ctx->Light._BaseColor[0]); in nv10_emit_material_ambient()
342 PUSH_DATAp(push, c_scene, 3); in nv10_emit_material_ambient()