diff options
author | Kenneth Graunke <[email protected]> | 2013-07-03 14:55:19 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-07-09 14:09:24 -0700 |
commit | 02128c448d1f4eedf70b3bdb4ec187cf405c530e (patch) | |
tree | 2949a52faa016122d9fa14c2709530d6fe6a1fa3 /src/mesa/drivers/dri/i965/brw_program.c | |
parent | 44a11eab9c59dbfa21d431079f16e767325915ae (diff) |
i965: Move intel_context::intelScreen to brw_context.
Signed-off-by: Kenneth Graunke <[email protected]>
Acked-by: Chris Forbes <[email protected]>
Acked-by: Paul Berry <[email protected]>
Acked-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_program.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c index 2993f1bcf04..97d23b3ace3 100644 --- a/src/mesa/drivers/dri/i965/brw_program.c +++ b/src/mesa/drivers/dri/i965/brw_program.c @@ -78,7 +78,7 @@ static struct gl_program *brwNewProgram( struct gl_context *ctx, case GL_VERTEX_PROGRAM_ARB: { struct brw_vertex_program *prog = CALLOC_STRUCT(brw_vertex_program); if (prog) { - prog->id = get_new_program_id(brw->intel.intelScreen); + prog->id = get_new_program_id(brw->intelScreen); return _mesa_init_vertex_program( ctx, &prog->program, target, id ); @@ -90,7 +90,7 @@ static struct gl_program *brwNewProgram( struct gl_context *ctx, case GL_FRAGMENT_PROGRAM_ARB: { struct brw_fragment_program *prog = CALLOC_STRUCT(brw_fragment_program); if (prog) { - prog->id = get_new_program_id(brw->intel.intelScreen); + prog->id = get_new_program_id(brw->intelScreen); return _mesa_init_fragment_program( ctx, &prog->program, target, id ); @@ -135,7 +135,7 @@ brwProgramStringNotify(struct gl_context *ctx, if (newFP == curFP) brw->state.dirty.brw |= BRW_NEW_FRAGMENT_PROGRAM; - newFP->id = get_new_program_id(brw->intel.intelScreen); + newFP->id = get_new_program_id(brw->intelScreen); break; } case GL_VERTEX_PROGRAM_ARB: { @@ -149,7 +149,7 @@ brwProgramStringNotify(struct gl_context *ctx, if (newVP->program.IsPositionInvariant) { _mesa_insert_mvp_code(ctx, &newVP->program); } - newVP->id = get_new_program_id(brw->intel.intelScreen); + newVP->id = get_new_program_id(brw->intelScreen); /* Also tell tnl about it: */ |