projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8947cf6
)
r600: don't setup hardware state if TFP
author
Dave Airlie
<airlied@linux.ie>
Wed, 9 Sep 2009 05:02:16 +0000
(15:02 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Wed, 9 Sep 2009 05:02:16 +0000
(15:02 +1000)
if we have a BO here it means TFP and we should have set it
up already.
tested by b0le on #radeon
src/mesa/drivers/dri/r600/r600_texstate.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r600/r600_texstate.c
b/src/mesa/drivers/dri/r600/r600_texstate.c
index fff6e743860e91205924c8a2998968411733409f..ff4ef1ee74cbf80f5c4ea090b570d2b544c6b1b5 100644
(file)
--- a/
src/mesa/drivers/dri/r600/r600_texstate.c
+++ b/
src/mesa/drivers/dri/r600/r600_texstate.c
@@
-608,6
+608,10
@@
static void setup_hardware_state(context_t *rmesa, struct gl_texture_object *tex
int firstlevel = t->mt ? t->mt->firstLevel : 0;
GLuint uTexelPitch, row_align;
+ if ( t->bo ) {
+ return GL_TRUE;
+ }
+
firstImage = t->base.Image[0][firstlevel];
if (!t->image_override) {