Home
last modified time | relevance | path

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

/external/virglrenderer/src/
Dvrend_renderer.c402 GLint *img_locs[PIPE_SHADER_TYPES]; member
1499 sprog->img_locs[id] = calloc(nsamp, sizeof(GLint)); in bind_image_locs()
1500 if (!sprog->img_locs[id]) in bind_image_locs()
1503 sprog->img_locs[id] = NULL; in bind_image_locs()
1510 sprog->img_locs[id][img_array->first + j] = glGetUniformLocation(sprog->id, name); in bind_image_locs()
1511 if (sprog->img_locs[id][img_array->first + j] == -1) in bind_image_locs()
1519 sprog->img_locs[id][i] = glGetUniformLocation(sprog->id, name); in bind_image_locs()
1520 if (sprog->img_locs[id][i] == -1) in bind_image_locs()
1523 sprog->img_locs[id][i] = -1; in bind_image_locs()
1785 free(ent->img_locs[i]); in vrend_destroy_program()
[all …]