From a391e99b231f107e8881c00a85af236472f5167d Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 20 Feb 2014 09:14:40 -0800 Subject: [PATCH] i965/fs: Disable fs_inst assignment operator. The fs_reg src array is going to turn into a pointer and we'd rather not consider the implications of shallow copying fs_insts. Reviewed-by: Topi Pohjolainen Reviewed-by: Chris Forbes Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_fs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index bda233c29df..e079842c186 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.h +++ b/src/mesa/drivers/dri/i965/brw_fs.h @@ -185,6 +185,8 @@ public: }; class fs_inst : public backend_instruction { + fs_inst &operator=(const fs_inst &); + public: DECLARE_RALLOC_CXX_OPERATORS(fs_inst)