projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8be645d
)
llvmpipe: Actually flush in lp_resource_copy()
author
José Fonseca
<jfonseca@vmware.com>
Mon, 28 Jun 2010 14:39:54 +0000
(15:39 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 28 Jun 2010 15:33:21 +0000
(16:33 +0100)
The cpu_access is redundant in a software rasterizer.
src/gallium/drivers/llvmpipe/lp_surface.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_surface.c
b/src/gallium/drivers/llvmpipe/lp_surface.c
index 76b3fce1fa992336adf976fdb9b6eb187fd97d29..e8f4d19395a0c667dd70ad10a5cf6bffebf0d1a6 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_surface.c
+++ b/
src/gallium/drivers/llvmpipe/lp_surface.c
@@
-67,14
+67,14
@@
lp_resource_copy(struct pipe_context *pipe,
dst, subdst.face, subdst.level,
0, /* flush_flags */
FALSE, /* read_only */
-
FALS
E, /* cpu_access */
+
TRU
E, /* cpu_access */
FALSE); /* do_not_block */
llvmpipe_flush_resource(pipe,
src, subsrc.face, subsrc.level,
0, /* flush_flags */
TRUE, /* read_only */
-
FALS
E, /* cpu_access */
+
TRU
E, /* cpu_access */
FALSE); /* do_not_block */
/*