Home
last modified time | relevance | path

Searched refs:MAT_ATTRIB_FRONT_AMBIENT (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/mesa/program/
Dprog_statevars.c94 assert(index >= MAT_ATTRIB_FRONT_AMBIENT && in fetch_state()
151 * ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT][i] in fetch_state()
172 assert(index >= MAT_ATTRIB_FRONT_AMBIENT && in fetch_state()
198 for (unsigned attrib = MAT_ATTRIB_FRONT_AMBIENT; in fetch_state()
250 for (unsigned attrib = MAT_ATTRIB_FRONT_AMBIENT; in fetch_state()
1601 base_attrib = MAT_ATTRIB_FRONT_AMBIENT; in _mesa_optimize_state_parameters()
1609 base_attrib = MAT_ATTRIB_FRONT_AMBIENT; in _mesa_optimize_state_parameters()
Dprogram_parse.y1353 $$ = MAT_ATTRIB_FRONT_AMBIENT;
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state.c666 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT]); in update_global_ambient()
712 for (i = MAT_ATTRIB_FRONT_AMBIENT; i < MAT_ATTRIB_FRONT_INDEXES; i+=2) in check_twoside_fallback()
811 fcmd[MTL_AMBIENT_RED] = mat[MAT_ATTRIB_FRONT_AMBIENT][0]; in radeonUpdateMaterial()
812 fcmd[MTL_AMBIENT_GREEN] = mat[MAT_ATTRIB_FRONT_AMBIENT][1]; in radeonUpdateMaterial()
813 fcmd[MTL_AMBIENT_BLUE] = mat[MAT_ATTRIB_FRONT_AMBIENT][2]; in radeonUpdateMaterial()
814 fcmd[MTL_AMBIENT_ALPHA] = mat[MAT_ATTRIB_FRONT_AMBIENT][3]; in radeonUpdateMaterial()
/third_party/mesa3d/src/mesa/tnl/
Dt_context.h131 _TNL_ATTRIB_MAT_FRONT_AMBIENT=VERT_ATTRIB_MAT(MAT_ATTRIB_FRONT_AMBIENT),
/third_party/mesa3d/src/mesa/main/
Dlight.c694 mat[MAT_ATTRIB_FRONT_AMBIENT]); in _mesa_update_material()
712 ACC_SCALE_3V( ctx->Light._BaseColor[0], mat[MAT_ATTRIB_FRONT_AMBIENT], in _mesa_update_material()
1256 ASSIGN_4V( m->Attrib[MAT_ATTRIB_FRONT_AMBIENT], 0.2F, 0.2F, 0.2F, 1.0F ); in init_material()
Dmtypes.h189 #define MAT_ATTRIB_FRONT_AMBIENT 0 macro
203 #define MAT_ATTRIB_AMBIENT(f) (MAT_ATTRIB_FRONT_AMBIENT+(f))
210 #define MAT_BIT_FRONT_AMBIENT (1<<MAT_ATTRIB_FRONT_AMBIENT)
Dffvertex_prog.c837 return MAT_ATTRIB_FRONT_AMBIENT + side; in material_attrib()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state.c852 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT]); in update_global_ambient()
1009 fcmd[MTL_AMBIENT_RED] = mat[MAT_ATTRIB_FRONT_AMBIENT][0]; in r200UpdateMaterial()
1010 fcmd[MTL_AMBIENT_GREEN] = mat[MAT_ATTRIB_FRONT_AMBIENT][1]; in r200UpdateMaterial()
1011 fcmd[MTL_AMBIENT_BLUE] = mat[MAT_ATTRIB_FRONT_AMBIENT][2]; in r200UpdateMaterial()
1012 fcmd[MTL_AMBIENT_ALPHA] = mat[MAT_ATTRIB_FRONT_AMBIENT][3]; in r200UpdateMaterial()
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_tnl.c333 SCALE_3V(c_scene, mat[MAT_ATTRIB_FRONT_AMBIENT], in nv10_emit_material_ambient()
/third_party/mesa3d/src/compiler/glsl/
Dbuiltin_variables.cpp78 {"ambient", {STATE_MATERIAL, MAT_ATTRIB_FRONT_AMBIENT}, SWIZZLE_XYZW},
124 {"ambient", {STATE_LIGHTPROD, 0, MAT_ATTRIB_FRONT_AMBIENT}, SWIZZLE_XYZW},