Home
last modified time | relevance | path

Searched refs:VERT_ATTRIB_NORMAL (Results 1 – 21 of 21) sorted by relevance

/external/mesa3d/src/mesa/main/
Darrayobj.c224 case VERT_ATTRIB_NORMAL: in _mesa_initialize_array_object()
225 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_NORMAL], 3, GL_FLOAT); in _mesa_initialize_array_object()
Dgetstring.c222 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Ptr; in _mesa_GetPointerv()
Dvarray.c305 update_array(ctx, "glNormalPointer", VERT_ATTRIB_NORMAL, in _mesa_NormalPointer()
1250 if (arrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Enabled) in _mesa_print_arrays()
1251 print_array("Normal", -1, &arrayObj->VertexAttrib[VERT_ATTRIB_NORMAL]); in _mesa_print_arrays()
Dget.c579 CONTEXT_FIELD(Current.Attrib[VERT_ATTRIB_NORMAL][0], TYPE_FLOATN_3),
627 { GL_NORMAL_ARRAY, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_NORMAL].Enabled), NO_EXTRA },
628 { GL_NORMAL_ARRAY_TYPE, ARRAY_ENUM(VertexAttrib[VERT_ATTRIB_NORMAL].Type), NO_EXTRA },
629 { GL_NORMAL_ARRAY_STRIDE, ARRAY_INT(VertexAttrib[VERT_ATTRIB_NORMAL].Stride), NO_EXTRA },
670 offsetof(struct gl_array_object, VertexAttrib[VERT_ATTRIB_NORMAL].BufferObj), NO_EXTRA },
Dapi_arrayelt.c1489 if (arrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Enabled) { in _ae_update_state()
1490 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_NORMAL]; in _ae_update_state()
Denable.c67 var = &arrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Enabled; in client_state()
1463 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Enabled != 0); in _mesa_IsEnabled()
Dffvertex_prog.c794 p->transformed_normal = register_input(p, VERT_ATTRIB_NORMAL ); in get_transformed_normal()
798 struct ureg normal = register_input(p, VERT_ATTRIB_NORMAL ); in get_transformed_normal()
Dmtypes.h103 VERT_ATTRIB_NORMAL = 2, enumerator
173 #define VERT_BIT_NORMAL BITFIELD64_BIT(VERT_ATTRIB_NORMAL)
Dcontext.c465 ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_NORMAL], 0.0, 0.0, 1.0, 1.0 ); in _mesa_init_current()
Ddlist.c6045 save_Attr3fNV(VERT_ATTRIB_NORMAL, x, y, z); in save_Normal3f()
6051 save_Attr3fNV(VERT_ATTRIB_NORMAL, v[0], v[1], v[2]); in save_Normal3fv()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_maos_arrays.c110 assert(attrib == VERT_ATTRIB_NORMAL); in r200EmitArrays()
Dr200_tcl.c397 map_rev_fixed[2] = VERT_ATTRIB_NORMAL; in r200_run_tcl_render()
416 map_rev_fixed[2] = VERT_ATTRIB_NORMAL; in r200_run_tcl_render()
Dr200_vertprog.c517 vp->inputs[VERT_ATTRIB_NORMAL] = 1; in r200_translate_vertex_program()
518 vp->inputmap_rev[2] = VERT_ATTRIB_NORMAL; in r200_translate_vertex_program()
614 if (src[i].Index == VERT_ATTRIB_NORMAL) { in r200_translate_vertex_program()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_render.c65 [VERT_ATTRIB_NORMAL] = {
Dnv20_render.c45 [VERT_ATTRIB_NORMAL] = {
Dnouveau_swtnl_t.c69 [VERT_ATTRIB_NORMAL] = {
Dnouveau_vbo_t.c184 vbo_emit_attr(ctx, arrays, VERT_ATTRIB_NORMAL); in vbo_choose_attrs()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_maos_vbtmp.h120 norm = (GLuint (*)[4])&ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; in TAG()
/external/mesa3d/src/mesa/tnl/
Dt_rasterpos.c379 GLfloat *objnorm = ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; in _tnl_RasterPos()
/external/mesa3d/src/glsl/
Dbuiltin_variables.cpp76 { ir_var_in, VERT_ATTRIB_NORMAL, "vec3", "gl_Normal" },
/external/mesa3d/src/mesa/program/
Dprogram_parse.y1144 $$ = VERT_ATTRIB_NORMAL;