Home
last modified time | relevance | path

Searched refs:STATE_AMBIENT (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/mesa/program/
Dprog_statevars.h153 STATE_AMBIENT, enumerator
Dprog_statevars.c110 const unsigned index = state[2] - STATE_AMBIENT; in fetch_state()
1068 case STATE_AMBIENT: in append_token()
1498 list->Parameters[i].StateIndexes[2] == STATE_AMBIENT && in _mesa_optimize_state_parameters()
1512 (list->Parameters[first_param].StateIndexes[2] - STATE_AMBIENT) * 4; in _mesa_optimize_state_parameters()
Dprogram_parse.y1362 $$ = STATE_AMBIENT;
/third_party/mesa3d/src/mesa/main/
Dffvertex_prog.c848 case STATE_AMBIENT: in material_attrib()
920 struct ureg material_ambient = get_material(p, side, STATE_AMBIENT); in get_scenecolor()
1136 lightprod_front[i][0] = get_lightprod(p, i, 0, STATE_AMBIENT, in build_lighting()
1139 lightprod_back[i][0] = get_lightprod(p, i, 1, STATE_AMBIENT, in build_lighting()
1244 struct ureg material_value = get_material(p, 0, STATE_AMBIENT + j); in build_lighting()
1311 struct ureg material_value = get_material(p, 1, STATE_AMBIENT + j); in build_lighting()
/third_party/mesa3d/src/compiler/glsl/
Dbuiltin_variables.cpp94 {"ambient", {STATE_LIGHT, 0, STATE_AMBIENT}, SWIZZLE_XYZW},