projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cell: emit state in cell_clear_surface() if dirty.
[mesa.git]
/
src
/
mesa
/
pipe
/
cell
/
ppu
/
cell_clear.c
diff --git
a/src/mesa/pipe/cell/ppu/cell_clear.c
b/src/mesa/pipe/cell/ppu/cell_clear.c
index e61bfd9b0fd6829d1fe81b425fe1c6552672e12f..07b908eec59eafc4b27466983b12f833a178e29a 100644
(file)
--- a/
src/mesa/pipe/cell/ppu/cell_clear.c
+++ b/
src/mesa/pipe/cell/ppu/cell_clear.c
@@
-50,6
+50,10
@@
cell_clear_surface(struct pipe_context *pipe, struct pipe_surface *ps,
struct cell_context *cell = cell_context(pipe);
uint surfIndex;
+ if (cell->dirty)
+ cell_update_derived(cell);
+
+
if (!cell->cbuf_map[0])
cell->cbuf_map[0] = pipe_surface_map(ps);