projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5761c64
)
cell: remove old surface_map code
author
Brian Paul
<brianp@vmware.com>
Thu, 19 Feb 2009 04:35:56 +0000
(21:35 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 19 Feb 2009 04:35:56 +0000
(21:35 -0700)
src/gallium/drivers/cell/ppu/cell_clear.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/cell/ppu/cell_clear.c
b/src/gallium/drivers/cell/ppu/cell_clear.c
index c2e276988cadf8d7927beb5c1d7c8f46a86929fc..39c5f937b9c1c8fef9da1456ac9f6408893f62d3 100644
(file)
--- a/
src/gallium/drivers/cell/ppu/cell_clear.c
+++ b/
src/gallium/drivers/cell/ppu/cell_clear.c
@@
-77,11
+77,6
@@
cell_clear_surface(struct pipe_context *pipe, struct pipe_surface *ps,
if (cell->dirty)
cell_update_derived(cell);
-
- if (!cell->cbuf_map[0])
- cell->cbuf_map[0] = screen->surface_map(screen, ps,
- PIPE_BUFFER_USAGE_GPU_WRITE);
-
if (ps == cell->framebuffer.zsbuf) {
/* clear z/stencil buffer */
surfIndex = 1;