projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
510916f
)
i965: Remove worrisome comment about _NEW_PROGRAM signaling fp change.
author
Eric Anholt
<eric@anholt.net>
Wed, 7 Jan 2009 22:26:11 +0000
(14:26 -0800)
committer
Alan Hourihane
<alanh@vmware.com>
Fri, 9 Jan 2009 11:16:39 +0000
(11:16 +0000)
Everything now depends on either BRW_NEW_FRAGMENT_PROGRAM or
BRW_NEW_VERTEX_PROGRAM.
src/mesa/drivers/dri/i965/brw_state_upload.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_state_upload.c
b/src/mesa/drivers/dri/i965/brw_state_upload.c
index 5124535f2a6e158177caca809d62b76ba2877927..4845859b3e849072b19cf7565cd4c8fad2451414 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_state_upload.c
+++ b/
src/mesa/drivers/dri/i965/brw_state_upload.c
@@
-314,12
+314,8
@@
void brw_validate_state( struct brw_context *brw )
state->brw |= ~0;
}
- /* texenv program needs to notify us somehow when this happens:
- * Some confusion about which state flag should represent this change.
- */
if (brw->fragment_program != brw->attribs.FragmentProgram->_Current) {
brw->fragment_program = brw->attribs.FragmentProgram->_Current;
- brw->state.dirty.mesa |= _NEW_PROGRAM;
brw->state.dirty.brw |= BRW_NEW_FRAGMENT_PROGRAM;
}