OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
158dcdc
)
i965/gs: Add a case to brwBindProgram() for geometry shaders.
author
Paul Berry
<stereotype441@gmail.com>
Tue, 2 Jul 2013 14:48:04 +0000
(07:48 -0700)
committer
Paul Berry
<stereotype441@gmail.com>
Fri, 23 Aug 2013 18:02:58 +0000
(11:02 -0700)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_program.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_program.c
b/src/mesa/drivers/dri/i965/brw_program.c
index
bb9676b
..
fdb2848
100644
(file)
--- 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;