projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebf2710
)
llvmpipe: Update tile status on flush.
author
José Fonseca
<jfonseca@vmware.com>
Sun, 20 Sep 2009 11:28:07 +0000
(12:28 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Sun, 20 Sep 2009 17:09:34 +0000
(18:09 +0100)
src/gallium/drivers/llvmpipe/lp_tile_cache.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_tile_cache.c
b/src/gallium/drivers/llvmpipe/lp_tile_cache.c
index 143afec3d35313da6335383dc518980854ebea50..ddda5650a9266c1ea6dffa82ac549c1694e6c1a4 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_tile_cache.c
+++ b/
src/gallium/drivers/llvmpipe/lp_tile_cache.c
@@
-225,11
+225,14
@@
lp_flush_tile_cache(struct llvmpipe_tile_cache *tc)
tc->clear_val);
screen->transfer_unmap(screen, pt);
+
+ tile->status = LP_TILE_STATUS_UNDEFINED;
break;
}
case LP_TILE_STATUS_DEFINED:
lp_put_tile_rgba_soa(pt, x, y, tile->color);
+ tile->status = LP_TILE_STATUS_UNDEFINED;
break;
}
}