Home
last modified time | relevance | path

Searched refs:VERT_ATTRIB_COLOR1 (Results 1 – 25 of 26) sorted by relevance

12

/external/mesa3d/src/mesa/main/
Drastpos.c458 ctx->Current.Attrib[VERT_ATTRIB_COLOR1]); in _mesa_RasterPos()
700 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][0], 0.0F, 1.0F); in window_pos3f()
702 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][1], 0.0F, 1.0F); in window_pos3f()
704 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][2], 0.0F, 1.0F); in window_pos3f()
706 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][3], 0.0F, 1.0F); in window_pos3f()
Darrayobj.c283 case VERT_ATTRIB_COLOR1: in _mesa_initialize_vao()
284 init_array(ctx, vao, VERT_ATTRIB_COLOR1, 3, GL_FLOAT); in _mesa_initialize_vao()
Dgetstring.c265 *params = (GLvoid *) ctx->Array.VAO->VertexAttrib[VERT_ATTRIB_COLOR1].Ptr; in _mesa_GetPointerv()
Dvarray.c772 update_array(ctx, VERT_ATTRIB_COLOR1, format, BGRA_OR_4, size, type, in _mesa_SecondaryColorPointer_no_error()
794 VERT_ATTRIB_COLOR1, legalTypes, 3, in _mesa_SecondaryColorPointer()
800 update_array(ctx, VERT_ATTRIB_COLOR1, format, BGRA_OR_4, size, type, in _mesa_SecondaryColorPointer()
Dapi_arrayelt.c1607 if (vao->VertexAttrib[VERT_ATTRIB_COLOR1].Enabled) { in _ae_update_state()
1608 aa->array = &vao->VertexAttrib[VERT_ATTRIB_COLOR1]; in _ae_update_state()
Denable.c100 var = &vao->VertexAttrib[VERT_ATTRIB_COLOR1].Enabled; in client_state()
1572 return ctx->Array.VAO->VertexAttrib[VERT_ATTRIB_COLOR1].Enabled; in _mesa_IsEnabled()
Dff_fragment_shader.cpp1015 secondary = swizzle_xyz(get_current_attrib(p, VERT_ATTRIB_COLOR1)); in emit_instructions()
Dcontext.c441 ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_COLOR1], 0.0, 0.0, 0.0, 1.0 ); in _mesa_init_current()
Dffvertex_prog.c1580 emit_passthrough(p, VERT_ATTRIB_COLOR1, VARYING_SLOT_COL1); in build_tnl_program()
Dget.c926 array = &ctx->Array.VAO->VertexAttrib[VERT_ATTRIB_COLOR1]; in find_custom_value()
/external/mesa3d/src/compiler/
Dshader_enums.h80 VERT_ATTRIB_COLOR1, enumerator
145 #define VERT_BIT_COLOR1 BITFIELD_BIT(VERT_ATTRIB_COLOR1)
Dshader_enums.c96 ENUM(VERT_ATTRIB_COLOR1), in gl_vert_attrib_name()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_render.c50 [VERT_ATTRIB_COLOR1] = {
Dnv20_render.c55 [VERT_ATTRIB_COLOR1] = {
Dnouveau_swtnl_t.c77 [VERT_ATTRIB_COLOR1] = {
Dnouveau_vbo_t.c182 vbo_emit_attr(ctx, arrays, VERT_ATTRIB_COLOR1); in vbo_choose_attrs()
/external/mesa3d/prebuilt-intermediates/main/
Dget_hash.h550 …{ GL_CURRENT_SECONDARY_COLOR, CONTEXT_FIELD(Current.Attrib[VERT_ATTRIB_COLOR1][0], TYPE_FLOATN_4),…
551 { GL_SECONDARY_COLOR_ARRAY, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_COLOR1].Enabled), NO_EXTRA },
552 { GL_SECONDARY_COLOR_ARRAY_TYPE, ARRAY_ENUM(VertexAttrib[VERT_ATTRIB_COLOR1].Type), NO_EXTRA },
553 … { GL_SECONDARY_COLOR_ARRAY_STRIDE, ARRAY_INT(VertexAttrib[VERT_ATTRIB_COLOR1].Stride), NO_EXTRA },
575 …M, TYPE_INT, offsetof(struct gl_vertex_array_object, BufferBinding[VERT_ATTRIB_COLOR1].BufferObj),…
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_rasterpos.c162 VARYING_SLOT_COL1, VERT_ATTRIB_COLOR1); in rastpos_point()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_maos_vbtmp.h139 spec = (GLfloat (*)[4])ctx->Current.Attrib[VERT_ATTRIB_COLOR1]; in TAG()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_vertprog.c513 vp->inputs[VERT_ATTRIB_COLOR1] = 3; in r200_translate_vertex_program()
514 vp->inputmap_rev[5] = VERT_ATTRIB_COLOR1; in r200_translate_vertex_program()
608 else if (src[i].Index == VERT_ATTRIB_COLOR1) { in r200_translate_vertex_program()
Dr200_tcl.c405 map_rev_fixed[5] = VERT_ATTRIB_COLOR1; in r200_run_tcl_render()
/external/mesa3d/src/mesa/tnl/
Dt_vb_program.c436 VB->AttribPtr[VERT_ATTRIB_COLOR1] = &store->results[VARYING_SLOT_COL1]; in run_vp()
Dt_vertex_generic.c1072 a[j].attrib == VERT_ATTRIB_COLOR1) { in _tnl_generic_copy_pv()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c442 idx == VERT_ATTRIB_COLOR1)) { in _mesa_fetch_state()
/external/mesa3d/src/compiler/glsl/
Dbuiltin_variables.cpp1042 add_input(VERT_ATTRIB_COLOR1, vec4_t, "gl_SecondaryColor"); in generate_vs_special_vars()

12