diff options
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_program.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c index 61c2a082144..d782b4fdafb 100644 --- a/src/mesa/drivers/dri/i965/brw_program.c +++ b/src/mesa/drivers/dri/i965/brw_program.c @@ -62,13 +62,13 @@ static void brwBindProgram( struct gl_context *ctx, switch (target) { case GL_VERTEX_PROGRAM_ARB: - SET_DIRTY_BIT(brw, BRW_NEW_VERTEX_PROGRAM); + brw->state.dirty.brw |= BRW_NEW_VERTEX_PROGRAM; break; case MESA_GEOMETRY_PROGRAM: - SET_DIRTY_BIT(brw, BRW_NEW_GEOMETRY_PROGRAM); + brw->state.dirty.brw |= BRW_NEW_GEOMETRY_PROGRAM; break; case GL_FRAGMENT_PROGRAM_ARB: - SET_DIRTY_BIT(brw, BRW_NEW_FRAGMENT_PROGRAM); + brw->state.dirty.brw |= BRW_NEW_FRAGMENT_PROGRAM; break; } } @@ -161,7 +161,7 @@ brwProgramStringNotify(struct gl_context *ctx, brw_fragment_program_const(brw->fragment_program); if (newFP == curFP) - SET_DIRTY_BIT(brw, BRW_NEW_FRAGMENT_PROGRAM); + brw->state.dirty.brw |= BRW_NEW_FRAGMENT_PROGRAM; newFP->id = get_new_program_id(brw->intelScreen); break; } @@ -172,7 +172,7 @@ brwProgramStringNotify(struct gl_context *ctx, brw_vertex_program_const(brw->vertex_program); if (newVP == curVP) - SET_DIRTY_BIT(brw, BRW_NEW_VERTEX_PROGRAM); + brw->state.dirty.brw |= BRW_NEW_VERTEX_PROGRAM; if (newVP->program.IsPositionInvariant) { _mesa_insert_mvp_code(ctx, &newVP->program); } |