{
GET_CURRENT_CONTEXT(ctx);
GLfloat v[2];
+ struct gl_shader_program *shProg;
v[0] = v0;
v[1] = v1;
- struct gl_shader_program *shProg =
- _mesa_lookup_shader_program_err(ctx, program,
- "glProgramUniform2f");
+ shProg = _mesa_lookup_shader_program_err(ctx, program, "glProgramUniform2f");
_mesa_uniform(ctx, shProg, location, 1, v, GL_FLOAT_VEC2);
}
{
GET_CURRENT_CONTEXT(ctx);
GLfloat v[3];
+ struct gl_shader_program *shProg;
v[0] = v0;
v[1] = v1;
v[2] = v2;
- struct gl_shader_program *shProg =
- _mesa_lookup_shader_program_err(ctx, program,
- "glProgramUniform3f");
+ shProg = _mesa_lookup_shader_program_err(ctx, program, "glProgramUniform3f");
_mesa_uniform(ctx, shProg, location, 1, v, GL_FLOAT_VEC3);
}
{
GET_CURRENT_CONTEXT(ctx);
GLfloat v[4];
+ struct gl_shader_program *shProg;
v[0] = v0;
v[1] = v1;
v[2] = v2;
v[3] = v3;
- struct gl_shader_program *shProg =
- _mesa_lookup_shader_program_err(ctx, program,
- "glProgramUniform4f");
+ shProg = _mesa_lookup_shader_program_err(ctx, program, "glProgramUniform4f");
_mesa_uniform(ctx, shProg, location, 1, v, GL_FLOAT_VEC4);
}
{
GET_CURRENT_CONTEXT(ctx);
GLint v[2];
+ struct gl_shader_program *shProg;
v[0] = v0;
v[1] = v1;
- struct gl_shader_program *shProg =
- _mesa_lookup_shader_program_err(ctx, program,
- "glProgramUniform2i");
+ shProg = _mesa_lookup_shader_program_err(ctx, program, "glProgramUniform2i");
_mesa_uniform(ctx, shProg, location, 1, v, GL_INT_VEC2);
}
{
GET_CURRENT_CONTEXT(ctx);
GLint v[3];
+ struct gl_shader_program *shProg;
v[0] = v0;
v[1] = v1;
v[2] = v2;
- struct gl_shader_program *shProg =
- _mesa_lookup_shader_program_err(ctx, program,
- "glProgramUniform3i");
+ shProg = _mesa_lookup_shader_program_err(ctx, program, "glProgramUniform3i");
_mesa_uniform(ctx, shProg, location, 1, v, GL_INT_VEC3);
}
{
GET_CURRENT_CONTEXT(ctx);
GLint v[4];
+ struct gl_shader_program *shProg;
v[0] = v0;
v[1] = v1;
v[2] = v2;
v[3] = v3;
- struct gl_shader_program *shProg =
- _mesa_lookup_shader_program_err(ctx, program,
- "glProgramUniform4i");
+ shProg = _mesa_lookup_shader_program_err(ctx, program, "glProgramUniform4i");
_mesa_uniform(ctx, shProg, location, 1, v, GL_INT_VEC4);
}
{
GET_CURRENT_CONTEXT(ctx);
GLuint v[2];
+ struct gl_shader_program *shProg;
v[0] = v0;
v[1] = v1;
- struct gl_shader_program *shProg =
- _mesa_lookup_shader_program_err(ctx, program,
- "glProgramUniform2ui");
+ shProg = _mesa_lookup_shader_program_err(ctx, program,
+ "glProgramUniform2ui");
_mesa_uniform(ctx, shProg, location, 1, v, GL_UNSIGNED_INT_VEC2);
}
{
GET_CURRENT_CONTEXT(ctx);
GLuint v[3];
+ struct gl_shader_program *shProg;
v[0] = v0;
v[1] = v1;
v[2] = v2;
- struct gl_shader_program *shProg =
- _mesa_lookup_shader_program_err(ctx, program,
- "glProgramUniform3ui");
+ shProg = _mesa_lookup_shader_program_err(ctx, program,
+ "glProgramUniform3ui");
_mesa_uniform(ctx, shProg, location, 1, v, GL_UNSIGNED_INT_VEC3);
}
{
GET_CURRENT_CONTEXT(ctx);
GLuint v[4];
+ struct gl_shader_program *shProg;
v[0] = v0;
v[1] = v1;
v[2] = v2;
v[3] = v3;
- struct gl_shader_program *shProg =
- _mesa_lookup_shader_program_err(ctx, program,
- "glProgramUniform4ui");
+ shProg = _mesa_lookup_shader_program_err(ctx, program, "glProgramUniform4ui");
_mesa_uniform(ctx, shProg, location, 1, v, GL_UNSIGNED_INT_VEC4);
}