Lines Matching refs:img_locs
402 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()
4361 if (!sub_ctx->prog->img_locs[shader_type]) in vrend_draw_bind_images_shader()
4399 glUniform1i(sub_ctx->prog->img_locs[shader_type][i], i); in vrend_draw_bind_images_shader()