Home
last modified time | relevance | path

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

/external/virglrenderer/src/
Dvrend_renderer.c285 GLint *img_locs[PIPE_SHADER_TYPES]; member
1165 sprog->img_locs[id] = calloc(nsamp, sizeof(GLint)); in bind_image_locs()
1166 if (!sprog->img_locs[id]) in bind_image_locs()
1169 sprog->img_locs[id] = NULL; in bind_image_locs()
1176 sprog->img_locs[id][img_array->first + j] = glGetUniformLocation(sprog->id, name); in bind_image_locs()
1177 if (sprog->img_locs[id][img_array->first + j] == -1) in bind_image_locs()
1185 sprog->img_locs[id][i] = glGetUniformLocation(sprog->id, name); in bind_image_locs()
1186 if (sprog->img_locs[id][i] == -1) in bind_image_locs()
1189 sprog->img_locs[id][i] = -1; in bind_image_locs()
1462 free(ent->img_locs[i]); in vrend_destroy_program()
[all …]