Home
last modified time | relevance | path

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

/external/virglrenderer/src/
Dvrend_renderer.c274 GLuint *attrib_locs; member
1384 sprog->attrib_locs = calloc(vs->sel->sinfo.num_inputs, sizeof(uint32_t)); in add_shader_program()
1385 if (sprog->attrib_locs) { in add_shader_program()
1388 sprog->attrib_locs[i] = glGetAttribLocation(prog_id, name); in add_shader_program()
1392 sprog->attrib_locs = NULL; in add_shader_program()
1466 free(ent->attrib_locs); in vrend_destroy_program()
3379 if (ctx->sub->prog->attrib_locs) { in vrend_draw_bind_vertex_legacy()
3380 loc = ctx->sub->prog->attrib_locs[i]; in vrend_draw_bind_vertex_legacy()