From: Paul Berry Date: Tue, 2 Jul 2013 14:48:04 +0000 (-0700) Subject: i965/gs: Add a case to brwBindProgram() for geometry shaders. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3167dca3d4e8fb40311cdb22636f66ed2ebf1d2c;p=mesa.git i965/gs: Add a case to brwBindProgram() for geometry shaders. Reviewed-by: Ian Romanick Reviewed-by: Kenneth Graunke Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c index bb9676be8a5..fdb2848261c 100644 --- a/src/mesa/drivers/dri/i965/brw_program.c +++ b/src/mesa/drivers/dri/i965/brw_program.c @@ -62,6 +62,9 @@ static void brwBindProgram( struct gl_context *ctx, case GL_VERTEX_PROGRAM_ARB: brw->state.dirty.brw |= BRW_NEW_VERTEX_PROGRAM; break; + case MESA_GEOMETRY_PROGRAM: + brw->state.dirty.brw |= BRW_NEW_GEOMETRY_PROGRAM; + break; case GL_FRAGMENT_PROGRAM_ARB: brw->state.dirty.brw |= BRW_NEW_FRAGMENT_PROGRAM; break;