From: José Fonseca Date: Mon, 28 Jun 2010 14:39:54 +0000 (+0100) Subject: llvmpipe: Actually flush in lp_resource_copy() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9e0fda070f3d8cb656e6891b1be56aaa8ed705a;p=mesa.git llvmpipe: Actually flush in lp_resource_copy() The cpu_access is redundant in a software rasterizer. --- 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 */ /*