projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a8cba9
)
radeon: fix not emitting texture state correctly
author
Dave Airlie
<airlied@redhat.com>
Tue, 17 Feb 2009 00:27:45 +0000
(10:27 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 17 Feb 2009 00:27:45 +0000
(10:27 +1000)
this is whole texture dirty bit is probably not needed with the current
codebase, need to revisit
src/mesa/drivers/dri/radeon/radeon_texstate.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_texstate.c
b/src/mesa/drivers/dri/radeon/radeon_texstate.c
index 0dc355723ecfc6970acb76fc3391c6b4ae2731d0..2aa1a833420d7a9a1d39f686b023dab03fae9238 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_texstate.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_texstate.c
@@
-973,6
+973,8
@@
static GLboolean setup_hardware_state(r100ContextPtr rmesa, radeonTexObj *t, int
if (t->base.Target == GL_TEXTURE_RECTANGLE_NV) {
t->pp_txformat |= RADEON_TXFORMAT_NON_POWER2;
}
+
+ t->dirty_state = R100_TEX_ALL;
return GL_TRUE;
}