Searched refs:MAT_ATTRIB_FRONT_AMBIENT (Results 1 – 10 of 10) sorted by relevance
/third_party/mesa3d/src/mesa/program/ |
D | prog_statevars.c | 94 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()
|
D | program_parse.y | 1353 $$ = MAT_ATTRIB_FRONT_AMBIENT;
|
/third_party/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_state.c | 666 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/ |
D | t_context.h | 131 _TNL_ATTRIB_MAT_FRONT_AMBIENT=VERT_ATTRIB_MAT(MAT_ATTRIB_FRONT_AMBIENT),
|
/third_party/mesa3d/src/mesa/main/ |
D | light.c | 694 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()
|
D | mtypes.h | 189 #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)
|
D | ffvertex_prog.c | 837 return MAT_ATTRIB_FRONT_AMBIENT + side; in material_attrib()
|
/third_party/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_state.c | 852 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/ |
D | nv10_state_tnl.c | 333 SCALE_3V(c_scene, mat[MAT_ATTRIB_FRONT_AMBIENT], in nv10_emit_material_ambient()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | builtin_variables.cpp | 78 {"ambient", {STATE_MATERIAL, MAT_ATTRIB_FRONT_AMBIENT}, SWIZZLE_XYZW}, 124 {"ambient", {STATE_LIGHTPROD, 0, MAT_ATTRIB_FRONT_AMBIENT}, SWIZZLE_XYZW},
|