Searched refs:const_locs (Results 1 – 2 of 2) sorted by relevance
98 void const_locs() { in const_locs() function
272 GLint *const_locs[PIPE_SHADER_TYPES]; member1094 sprog->const_locs[id] = calloc(sprog->ss[id]->sel->sinfo.num_consts, sizeof(uint32_t)); in bind_const_locs()1095 if (sprog->const_locs[id]) { in bind_const_locs()1100 sprog->const_locs[id][i] = glGetUniformLocation(sprog->id, name); in bind_const_locs()1104 sprog->const_locs[id] = NULL; in bind_const_locs()1463 free(ent->const_locs[i]); in vrend_destroy_program()3587 ctx->sub->prog->const_locs[shader_type] && in vrend_draw_bind_const_shader()3590 if (ctx->sub->prog->const_locs[shader_type][i] != -1) in vrend_draw_bind_const_shader()3591 …glUniform4uiv(ctx->sub->prog->const_locs[shader_type][i], 1, &ctx->sub->consts[shader_type].consts… in vrend_draw_bind_const_shader()