glsl: modify ir_clone to use memcpy
authorTapani Pälli <tapani.palli@intel.com>
Thu, 12 Dec 2013 15:13:32 +0000 (17:13 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 12 Dec 2013 15:28:13 +0000 (17:28 +0200)
commita6345f1559300e4eb51a36a1d0f15d6bc8b47dfb
tree81e8048fab5fbd6544c60fac35222359a48bb7a6
parent447bb9029f7e03b03e507053b9f63536d8fc74ac
glsl: modify ir_clone to use memcpy

Patch copies the whole data structure at once instead of
assigning individual variables.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/glsl/ir_clone.cpp