[Mesa-dev] [PATCH 02/19] i965/fs: Disable fs_inst assignment operator.

Matt Turner mattst88 at gmail.com
Fri Apr 18 11:56:38 PDT 2014


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 <topi.pohjolainen at intel.com>
---
 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 5c42d17..8af4520 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -184,6 +184,8 @@ public:
 };
 
 class fs_inst : public backend_instruction {
+   fs_inst &operator=(const fs_inst &);
+
 public:
    DECLARE_RALLOC_CXX_OPERATORS(fs_inst)
 
-- 
1.8.3.2



More information about the mesa-dev mailing list