diff options
author | José Fonseca <[email protected]> | 2010-06-28 15:39:54 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-06-28 16:33:21 +0100 |
commit | a9e0fda070f3d8cb656e6891b1be56aaa8ed705a (patch) | |
tree | 8c3f582daee93f535acade6b710639885ef75181 | |
parent | 8be645d53a0d5d0ca50e4e9597043225e2231b6d (diff) |
llvmpipe: Actually flush in lp_resource_copy()
The cpu_access is redundant in a software rasterizer.
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_surface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_surface.c b/src/gallium/drivers/llvmpipe/lp_surface.c index 76b3fce1fa9..e8f4d19395a 100644 --- 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 */ - FALSE, /* cpu_access */ + TRUE, /* cpu_access */ FALSE); /* do_not_block */ llvmpipe_flush_resource(pipe, src, subsrc.face, subsrc.level, 0, /* flush_flags */ TRUE, /* read_only */ - FALSE, /* cpu_access */ + TRUE, /* cpu_access */ FALSE); /* do_not_block */ /* |