Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/mesa/main/
Dglthread_varray.c266 if (attrib == VERT_ATTRIB_POS) { in _mesa_glthread_ClientState()
268 enable_buffer(vao, vao->Attrib[VERT_ATTRIB_POS].BufferIndex); in _mesa_glthread_ClientState()
273 disable_buffer(vao, vao->Attrib[VERT_ATTRIB_POS].BufferIndex); in _mesa_glthread_ClientState()
281 if (attrib == VERT_ATTRIB_POS) { in _mesa_glthread_ClientState()
283 disable_buffer(vao, vao->Attrib[VERT_ATTRIB_POS].BufferIndex); in _mesa_glthread_ClientState()
288 enable_buffer(vao, vao->Attrib[VERT_ATTRIB_POS].BufferIndex); in _mesa_glthread_ClientState()
705 _mesa_glthread_ClientState(ctx, NULL, VERT_ATTRIB_POS, true); in _mesa_glthread_InterleavedArrays()
706 _mesa_glthread_AttribPointer(ctx, VERT_ATTRIB_POS, layout.vcomps, GL_FLOAT, in _mesa_glthread_InterleavedArrays()
Dglthread_get.c90 *p = (ctx->GLThread.CurrentVAO->UserEnabled & (1 << VERT_ATTRIB_POS)) != 0; in _mesa_marshal_GetIntegerv()
Darrayobj.c72 VERT_ATTRIB_POS, /* VERT_ATTRIB_POS */
113 VERT_ATTRIB_POS, /* VERT_ATTRIB_POS */
128 VERT_ATTRIB_POS, /* VERT_ATTRIB_GENERIC0 */
Dgetstring.c254 *params = (GLvoid *) vao->VertexAttrib[VERT_ATTRIB_POS].Ptr; in _get_vao_pointerv()
Dvarray.c966 VERT_ATTRIB_POS, GL_RGBA, 4, size, type, stride, in _mesa_VertexPointer_no_error()
986 VERT_ATTRIB_POS, legalTypes, 2, 4, size, in _mesa_VertexPointer()
992 VERT_ATTRIB_POS, format, 4, size, type, stride, in _mesa_VertexPointer()
1021 VERT_ATTRIB_POS, legalTypes, 2, 4, size, in _mesa_VertexArrayVertexOffsetEXT()
1027 VERT_ATTRIB_POS, format, 4, size, type, stride, in _mesa_VertexArrayVertexOffsetEXT()
3962 *param = vao->VertexAttrib[VERT_ATTRIB_POS].Format.Size; in _mesa_GetVertexArrayIntegervEXT()
3965 *param = vao->VertexAttrib[VERT_ATTRIB_POS].Format.Type; in _mesa_GetVertexArrayIntegervEXT()
3968 *param = vao->VertexAttrib[VERT_ATTRIB_POS].Stride; in _mesa_GetVertexArrayIntegervEXT()
3971 buf = vao->BufferBinding[VERT_ATTRIB_POS].BufferObj; in _mesa_GetVertexArrayIntegervEXT()
Dffvertex_prog.c710 struct ureg pos = register_input( p, VERT_ATTRIB_POS ); in get_eye_position()
739 struct ureg pos = register_input( p, VERT_ATTRIB_POS ); in get_eye_position_z()
816 struct ureg pos = register_input( p, VERT_ATTRIB_POS ); in build_hpos()
1473 struct ureg obj = register_input(p, VERT_ATTRIB_POS); in build_texture_transform()
Dglthread_marshal.h395 return VERT_ATTRIB_POS; in _mesa_array_to_attrib()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_rasterpos.c204 _mesa_vertex_attrib_binding(ctx, rs->VAO, VERT_ATTRIB_POS, 0); in new_draw_rastpos_stage()
205 _mesa_update_array_format(ctx, rs->VAO, VERT_ATTRIB_POS, 4, GL_FLOAT, in new_draw_rastpos_stage()
261 rs->VAO->VertexAttrib[VERT_ATTRIB_POS].Ptr = (GLubyte *) v; in st_RasterPos()
Dst_cb_drawtex.c65 return VERT_ATTRIB_POS; in semantic_to_vert_attrib()
Dst_cb_clear.c144 VERT_ATTRIB_POS, in make_nir_clear_vertex_shader()
/third_party/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.c221 vbo_emit_attr(ctx, arrays, VERT_ATTRIB_POS); in vbo_choose_attrs()
/third_party/mesa3d/src/compiler/glsl/tests/
Dinvalidate_locations_test.cpp144 var->data.location = VERT_ATTRIB_POS; in TEST_F()
151 EXPECT_EQ(VERT_ATTRIB_POS, var->data.location); in TEST_F()
/third_party/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()
/third_party/mesa3d/src/compiler/
Dshader_enums.h141 VERT_ATTRIB_POS, enumerator
221 #define VERT_BIT_POS BITFIELD_BIT(VERT_ATTRIB_POS)
Dshader_enums.c120 ENUM(VERT_ATTRIB_POS), in gl_vert_attrib_name()
/third_party/mesa3d/src/mesa/vbo/
Dvbo_save_loopback.c176 append_attr(&nr, la, VERT_ATTRIB_POS, 0, vao); in _vbo_loopback_vertex_list()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_swtcl.c100 VB->AttribPtr[VERT_ATTRIB_POS] = VB->NdcPtr; in radeonSetVertexFormat()
103 VB->AttribPtr[VERT_ATTRIB_POS] = VB->ClipPtr; in radeonSetVertexFormat()
106 assert( VB->AttribPtr[VERT_ATTRIB_POS] != NULL ); in radeonSetVertexFormat()
/third_party/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()
/third_party/mesa3d/src/mesa/swrast_setup/
Dss_context.c206 VB->AttribPtr[VERT_ATTRIB_POS] = VB->NdcPtr; in _swsetup_RenderStart()
/third_party/mesa3d/src/mesa/drivers/common/
Dmeta.c376 _mesa_update_array_format(ctx, array_obj, VERT_ATTRIB_POS, in _mesa_meta_setup_vertex_objects()
380 _mesa_bind_vertex_buffer(ctx, array_obj, VERT_ATTRIB_POS, in _mesa_meta_setup_vertex_objects()
383 _mesa_enable_vertex_array_attrib(ctx, array_obj, VERT_ATTRIB_POS); in _mesa_meta_setup_vertex_objects()
3330 _mesa_update_array_format(ctx, array_obj, VERT_ATTRIB_POS, in _mesa_meta_DrawTex()
3334 _mesa_bind_vertex_buffer(ctx, array_obj, VERT_ATTRIB_POS, in _mesa_meta_DrawTex()
3337 _mesa_enable_vertex_array_attrib(ctx, array_obj, VERT_ATTRIB_POS); in _mesa_meta_DrawTex()

12