Home
last modified time | relevance | path

Searched refs:VERT_ATTRIB_POS (Results 1 – 25 of 28) sorted by relevance

12

/external/mesa3d/src/compiler/
Dshader_enums.h77 VERT_ATTRIB_POS, enumerator
128 #define VERT_ATTRIB_FF(i) (VERT_ATTRIB_POS + (i))
142 #define VERT_BIT_POS BITFIELD_BIT(VERT_ATTRIB_POS)
Dshader_enums.c93 ENUM(VERT_ATTRIB_POS), in gl_vert_attrib_name()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_render.c40 [VERT_ATTRIB_POS] = {
123 if (attr == VERT_ATTRIB_POS && a->fields == 4) in nv10_render_set_format()
Dnouveau_swtnl_t.c65 [VERT_ATTRIB_POS] = {
116 tnl->vb.AttribPtr[VERT_ATTRIB_POS] = tnl->vb.ClipPtr; in swtnl_choose_attrs()
Dnv20_render.c40 [VERT_ATTRIB_POS] = {
Dnv04_render.c79 tnl->vb.AttribPtr[VERT_ATTRIB_POS] = tnl->vb.NdcPtr; in swtnl_choose_attrs()
Dnouveau_vbo_t.c210 vbo_emit_attr(ctx, arrays, VERT_ATTRIB_POS); in vbo_choose_attrs()
/external/mesa3d/src/compiler/glsl/tests/
Dinvalidate_locations_test.cpp140 var->data.location = VERT_ATTRIB_POS; in TEST_F()
147 EXPECT_EQ(VERT_ATTRIB_POS, var->data.location); in TEST_F()
/external/mesa3d/src/mesa/program/
Dprogramopt.c97 newInst[i].SrcReg[1].Index = VERT_ATTRIB_POS; in insert_mvp_dp4_code()
165 newInst[0].SrcReg[0].Index = VERT_ATTRIB_POS; in insert_mvp_mad_code()
177 newInst[i].SrcReg[0].Index = VERT_ATTRIB_POS; in insert_mvp_mad_code()
192 newInst[3].SrcReg[0].Index = VERT_ATTRIB_POS; in insert_mvp_mad_code()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_swtcl.c101 VB->AttribPtr[VERT_ATTRIB_POS] = VB->NdcPtr; in radeonSetVertexFormat()
104 VB->AttribPtr[VERT_ATTRIB_POS] = VB->ClipPtr; in radeonSetVertexFormat()
107 assert( VB->AttribPtr[VERT_ATTRIB_POS] != NULL ); in radeonSetVertexFormat()
/external/mesa3d/src/mesa/main/
Dgetstring.c250 *params = (GLvoid *) ctx->Array.VAO->VertexAttrib[VERT_ATTRIB_POS].Ptr; in _mesa_GetPointerv()
Dffvertex_prog.c719 struct ureg pos = register_input( p, VERT_ATTRIB_POS ); in get_eye_position()
748 struct ureg pos = register_input( p, VERT_ATTRIB_POS ); in get_eye_position_z()
826 struct ureg pos = register_input( p, VERT_ATTRIB_POS ); in build_hpos()
1437 struct ureg obj = register_input(p, VERT_ATTRIB_POS); in build_texture_transform()
Dvarray.c587 update_array(ctx, VERT_ATTRIB_POS, GL_RGBA, 4, size, type, stride, in _mesa_VertexPointer_no_error()
607 if (!validate_array_and_format(ctx, "glVertexPointer", VERT_ATTRIB_POS, in _mesa_VertexPointer()
613 update_array(ctx, VERT_ATTRIB_POS, format, 4, size, type, stride, in _mesa_VertexPointer()
Denable.c72 var = &vao->VertexAttrib[VERT_ATTRIB_POS].Enabled; in client_state()
1542 return ctx->Array.VAO->VertexAttrib[VERT_ATTRIB_POS].Enabled; in _mesa_IsEnabled()
Dapi_arrayelt.c1686 else if (vao->VertexAttrib[VERT_ATTRIB_POS].Enabled) { in _ae_update_state()
1687 aa->array = &vao->VertexAttrib[VERT_ATTRIB_POS]; in _ae_update_state()
/external/mesa3d/prebuilt-intermediates/main/
Dget_hash.h161 { GL_VERTEX_ARRAY, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_POS].Enabled), NO_EXTRA },
162 { GL_VERTEX_ARRAY_SIZE, ARRAY_INT(VertexAttrib[VERT_ATTRIB_POS].Size), NO_EXTRA },
163 { GL_VERTEX_ARRAY_TYPE, ARRAY_ENUM(VertexAttrib[VERT_ATTRIB_POS].Type), NO_EXTRA },
164 { GL_VERTEX_ARRAY_STRIDE, ARRAY_INT(VertexAttrib[VERT_ATTRIB_POS].Stride), NO_EXTRA },
182 …TOM, TYPE_INT, offsetof(struct gl_vertex_array_object, BufferBinding[VERT_ATTRIB_POS].BufferObj), …
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_swtcl.c90 VB->AttribPtr[VERT_ATTRIB_POS] = VB->NdcPtr; in r200SetVertexFormat()
93 VB->AttribPtr[VERT_ATTRIB_POS] = VB->ClipPtr; in r200SetVertexFormat()
96 assert( VB->AttribPtr[VERT_ATTRIB_POS] != NULL ); in r200SetVertexFormat()
Dr200_tcl.c390 map_rev_fixed[0] = VERT_ATTRIB_POS; in r200_run_tcl_render()
Dr200_vertprog.c496 vp->inputs[VERT_ATTRIB_POS] = 0; in r200_translate_vertex_program()
497 vp->inputmap_rev[0] = VERT_ATTRIB_POS; in r200_translate_vertex_program()
/external/mesa3d/src/mesa/swrast_setup/
Dss_context.c206 VB->AttribPtr[VERT_ATTRIB_POS] = VB->NdcPtr; in _swsetup_RenderStart()
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_array.c196 if (!ctx->Array.VAO->VertexAttrib[VERT_ATTRIB_POS].Enabled) in skip_validated_draw()
223 return (!ctx->Array.VAO->VertexAttrib[VERT_ATTRIB_POS].Enabled && in skip_validated_draw()
356 else if (array[VERT_ATTRIB_POS].Enabled) in recalculate_input_bindings()
357 inputs[0] = &vertexAttrib[VERT_ATTRIB_POS]; in recalculate_input_bindings()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c365 _mesa_update_array_format(ctx, array_obj, VERT_ATTRIB_POS, in _mesa_meta_setup_vertex_objects()
369 _mesa_bind_vertex_buffer(ctx, array_obj, VERT_ATTRIB_POS, in _mesa_meta_setup_vertex_objects()
371 _mesa_enable_vertex_array_attrib(ctx, array_obj, VERT_ATTRIB_POS); in _mesa_meta_setup_vertex_objects()
3349 _mesa_update_array_format(ctx, array_obj, VERT_ATTRIB_POS, in _mesa_meta_DrawTex()
3353 _mesa_bind_vertex_buffer(ctx, array_obj, VERT_ATTRIB_POS, in _mesa_meta_DrawTex()
3355 _mesa_enable_vertex_array_attrib(ctx, array_obj, VERT_ATTRIB_POS); in _mesa_meta_DrawTex()
/external/mesa3d/src/mesa/tnl/
Dt_vertex.c314 assert(nr == 0 || map[0].attrib == VERT_ATTRIB_POS); in _tnl_install_attrs()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di830_vtbl.c90 VB->AttribPtr[VERT_ATTRIB_POS] = VB->NdcPtr; in i830_render_start()
/external/mesa3d/src/compiler/glsl/
Dbuiltin_variables.cpp1039 add_input(VERT_ATTRIB_POS, vec4_t, "gl_Vertex"); in generate_vs_special_vars()

12