static void
st_nir_assign_uniform_locations(struct gl_context *ctx,
struct gl_program *prog,
- struct gl_shader_program *shader_program,
struct exec_list *uniform_list, unsigned *size)
{
int max = 0;
NIR_PASS_V(nir, nir_lower_atomics_to_ssbo,
st->ctx->Const.Program[nir->info.stage].MaxAtomicBuffers);
- st_nir_assign_uniform_locations(st->ctx, prog, shader_program,
+ st_nir_assign_uniform_locations(st->ctx, prog,
&nir->uniforms, &nir->num_uniforms);
if (st->ctx->Const.PackedDriverUniformStorage) {