mesa/sso: rename Shader to the pointer _Shader
Basically a sed but shaderapi.c and get.c. get.c => GL_CURRENT_PROGAM always refer to the "old" UseProgram behavior shaderapi.c => the old api stil update the Shader object directly V2: formatting improvement V3 (idr): * Rebase fixes after a block of code was moved from ir_to_mesa.cpp to shaderapi.c. * Trivial reformatting. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:

committed by
Ian Romanick

parent
b2bddaf7a0
commit
c03477050a
@@ -1204,7 +1204,7 @@ st_get_gp_variant(struct st_context *st,
|
||||
void
|
||||
st_print_shaders(struct gl_context *ctx)
|
||||
{
|
||||
struct gl_shader_program **shProg = ctx->Shader.CurrentProgram;
|
||||
struct gl_shader_program **shProg = ctx->_Shader->CurrentProgram;
|
||||
unsigned j;
|
||||
|
||||
for (j = 0; j < 3; j++) {
|
||||
|
Reference in New Issue
Block a user