From 3167dca3d4e8fb40311cdb22636f66ed2ebf1d2c Mon Sep 17 00:00:00 2001 From: Paul Berry Date: Tue, 2 Jul 2013 07:48:04 -0700 Subject: [PATCH] i965/gs: Add a case to brwBindProgram() for geometry shaders. Reviewed-by: Ian Romanick Reviewed-by: Kenneth Graunke Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_program.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.30.2