Lines Matching refs:prog
32 link_util_add_program_resource(struct gl_shader_program *prog,
42 prog->data->ProgramResourceList =
43 reralloc(prog->data,
44 prog->data->ProgramResourceList,
46 prog->data->NumProgramResourceList + 1);
48 if (!prog->data->ProgramResourceList) {
49 linker_error(prog, "Out of memory during linking.\n");
54 &prog->data->ProgramResourceList[prog->data->NumProgramResourceList];
60 prog->data->NumProgramResourceList++;
72 link_util_find_empty_block(struct gl_shader_program *prog,
78 &prog->EmptyUniformLocations) {
100 link_util_update_empty_uniform_locations(struct gl_shader_program *prog)
104 for (unsigned i = 0; i < prog->NumUniformRemapTable; i++) {
106 if (prog->UniformRemapTable[i] == NULL) {
109 current_block = rzalloc(prog, struct empty_uniform_block);
111 exec_list_push_tail(&prog->EmptyUniformLocations,