Lines Matching refs:img_locs
285 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()
3643 if (!ctx->sub->prog->img_locs[shader_type]) in vrend_draw_bind_images_shader()
3675 glUniform1i(ctx->sub->prog->img_locs[shader_type][i], i); in vrend_draw_bind_images_shader()