llvmpipe: Refactor convert_to/from_blend_type to convert in place.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 30 Nov 2012 18:06:46 +0000 (18:06 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 3 Dec 2012 14:02:43 +0000 (14:02 +0000)
commit6a2f2300a8f9f3b007350546d6aba468d04f4430
treeedf5c062a8ef8775f8ce01adfe6ae60d8479c22d
parent03aa3fd54bd8824d90307b3fbe5e26606212be40
llvmpipe: Refactor convert_to/from_blend_type to convert in place.

This fixes the "Source and destination overlap in memcpy" valgrind
warnings.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_state_fs.c