Home
last modified time | relevance | path

Searched refs:VERT_ATTRIB_GENERIC (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/mesa/main/
Dvarray.c740 update_array(ctx, "glVertexAttribPointer", VERT_ATTRIB_GENERIC(index), in _mesa_VertexAttribPointer()
768 update_array(ctx, "glVertexAttribIPointer", VERT_ATTRIB_GENERIC(index), in _mesa_VertexAttribIPointer()
784 update_array(ctx, "glVertexAttribLPointer", VERT_ATTRIB_GENERIC(index), in _mesa_VertexAttribLPointer()
817 _mesa_enable_vertex_array_attrib(ctx, vao, VERT_ATTRIB_GENERIC(index)); in enable_vertex_array_attrib()
862 assert(VERT_ATTRIB_GENERIC(index) < ARRAY_SIZE(vao->VertexAttrib)); in disable_vertex_array_attrib()
864 if (vao->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled) { in disable_vertex_array_attrib()
867 vao->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled = GL_FALSE; in disable_vertex_array_attrib()
922 assert(VERT_ATTRIB_GENERIC(index) < ARRAY_SIZE(vao->VertexAttrib)); in get_vertex_array_attrib()
924 array = &vao->VertexAttrib[VERT_ATTRIB_GENERIC(index)]; in get_vertex_array_attrib()
992 assert(VERT_ATTRIB_GENERIC(index) < in get_current_attrib()
[all …]
Dget.c2209 v->value_int = ctx->Array.VAO->BufferBinding[VERT_ATTRIB_GENERIC(index)].InstanceDivisor; in find_value_indexed()
2217 v->value_int = ctx->Array.VAO->BufferBinding[VERT_ATTRIB_GENERIC(index)].Offset; in find_value_indexed()
2225 v->value_int = ctx->Array.VAO->BufferBinding[VERT_ATTRIB_GENERIC(index)].Stride; in find_value_indexed()
2233 v->value_int = ctx->Array.VAO->BufferBinding[VERT_ATTRIB_GENERIC(index)].BufferObj->Name; in find_value_indexed()
Dapi_arrayelt.c1637 &vao->VertexAttrib[VERT_ATTRIB_GENERIC(i)]; in _ae_update_state()
/external/mesa3d/src/mesa/vbo/
Dvbo_save.c62 memcpy(arrays + VERT_ATTRIB_GENERIC(0), in vbo_save_init()
68 array = &arrays[VERT_ATTRIB_GENERIC(i)]; in vbo_save_init()
Dvbo_exec_draw.c192 assert(VERT_ATTRIB_GENERIC(attr) < ARRAY_SIZE(exec->vtx.inputs)); in vbo_exec_bind_arrays()
193 exec->vtx.inputs[VERT_ATTRIB_GENERIC(attr)] = in vbo_exec_bind_arrays()
203 assert(VERT_ATTRIB_GENERIC(attr) < ARRAY_SIZE(exec->vtx.inputs)); in vbo_exec_bind_arrays()
204 exec->vtx.inputs[VERT_ATTRIB_GENERIC(attr)] = in vbo_exec_bind_arrays()
Dvbo_exec_array.c268 inputs[VERT_ATTRIB_GENERIC(i)] = in recalculate_input_bindings()
277 inputs[VERT_ATTRIB_GENERIC(i)] = in recalculate_input_bindings()
319 if (array[VERT_ATTRIB_GENERIC(i)].Enabled) in recalculate_input_bindings()
320 inputs[VERT_ATTRIB_GENERIC(i)] = in recalculate_input_bindings()
321 &vertexAttrib[VERT_ATTRIB_GENERIC(i)]; in recalculate_input_bindings()
323 inputs[VERT_ATTRIB_GENERIC(i)] = in recalculate_input_bindings()
344 if (array[VERT_ATTRIB_GENERIC(i)].Enabled) in recalculate_input_bindings()
345 inputs[VERT_ATTRIB_GENERIC(i)] = in recalculate_input_bindings()
346 &vertexAttrib[VERT_ATTRIB_GENERIC(i)]; in recalculate_input_bindings()
348 inputs[VERT_ATTRIB_GENERIC(i)] = in recalculate_input_bindings()
Dvbo_save_draw.c158 save->inputs[VERT_ATTRIB_GENERIC(attr)] = in vbo_bind_vertex_list()
168 save->inputs[VERT_ATTRIB_GENERIC(attr)] = in vbo_bind_vertex_list()
Dvbo_context.c208 vbo->map_vp_none[VERT_ATTRIB_GENERIC(i)] in _vbo_CreateContext()
Dvbo_exec_api.c1198 memcpy(arrays + VERT_ATTRIB_GENERIC(0), in vbo_exec_vtx_init()
1204 array = &arrays[VERT_ATTRIB_GENERIC(i)]; in vbo_exec_vtx_init()
/external/mesa3d/src/compiler/
Dshader_enums.h134 #define VERT_ATTRIB_GENERIC(i) (VERT_ATTRIB_GENERIC0 + (i)) macro
170 #define VERT_BIT_GENERIC(i) VERT_BIT(VERT_ATTRIB_GENERIC(i))
172 BITFIELD64_RANGE(VERT_ATTRIB_GENERIC(0), VERT_ATTRIB_GENERIC_MAX)
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_vertprog.c562 vp->inputs[VERT_ATTRIB_GENERIC(i)] = j; in r200_translate_vertex_program()
565 vp->inputmap_rev[j] = VERT_ATTRIB_GENERIC(i); in r200_translate_vertex_program()
568 vp->inputmap_rev[j + 2] = VERT_ATTRIB_GENERIC(i); in r200_translate_vertex_program()
571 vp->inputmap_rev[j + 1] = VERT_ATTRIB_GENERIC(i); in r200_translate_vertex_program()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c327 _mesa_update_array_format(ctx, array_obj, VERT_ATTRIB_GENERIC(0), in _mesa_meta_setup_vertex_objects()
331 _mesa_bind_vertex_buffer(ctx, array_obj, VERT_ATTRIB_GENERIC(0), in _mesa_meta_setup_vertex_objects()
334 VERT_ATTRIB_GENERIC(0)); in _mesa_meta_setup_vertex_objects()
336 _mesa_update_array_format(ctx, array_obj, VERT_ATTRIB_GENERIC(1), in _mesa_meta_setup_vertex_objects()
340 _mesa_bind_vertex_buffer(ctx, array_obj, VERT_ATTRIB_GENERIC(1), in _mesa_meta_setup_vertex_objects()
343 VERT_ATTRIB_GENERIC(1)); in _mesa_meta_setup_vertex_objects()