projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbab3d7
)
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
Alex Deucher
<alexdeucher@gmail.com>
Thu, 24 Sep 2009 13:57:45 +0000
(09:57 -0400)
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 49b603b65e119504d108d457e619d6879397cc32..6436a5d7e9b48f7219a5785d180ec931f8a17804 100644
(file)
--- a/
src/mesa/drivers/dri/r600/r600_texstate.c
+++ b/
src/mesa/drivers/dri/r600/r600_texstate.c
@@
-565,6
+565,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) {