diff options
author | Paul Berry <[email protected]> | 2013-07-02 07:48:04 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-08-23 11:02:58 -0700 |
commit | 3167dca3d4e8fb40311cdb22636f66ed2ebf1d2c (patch) | |
tree | 337d9db58fba017fab534410c570a6511d6f8d8f /src | |
parent | 158dcdc0e2ec99ee527a633bef7b236a73688231 (diff) |
i965/gs: Add a case to brwBindProgram() for geometry shaders.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |