[Mesa-dev] [PATCH 1/4] i965/fs: Move ip_record class to its one use.
Matt Turner
mattst88 at gmail.com
Wed Nov 12 11:15:42 PST 2014
---
src/mesa/drivers/dri/i965/brw_fs.h | 12 ------------
src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 12 ++++++++++++
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h
index 1c14d13..8ca5490 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_fs.h
@@ -210,18 +210,6 @@ half(fs_reg reg, unsigned idx)
static const fs_reg reg_undef;
-class ip_record : public exec_node {
-public:
- DECLARE_RALLOC_CXX_OPERATORS(ip_record)
-
- ip_record(int ip)
- {
- this->ip = ip;
- }
-
- int ip;
-};
-
class fs_inst : public backend_instruction {
fs_inst &operator=(const fs_inst &);
diff --git a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
index c95beb6..2b7580c 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
@@ -60,6 +60,18 @@ fs_generator::~fs_generator()
{
}
+class ip_record : public exec_node {
+public:
+ DECLARE_RALLOC_CXX_OPERATORS(ip_record)
+
+ ip_record(int ip)
+ {
+ this->ip = ip;
+ }
+
+ int ip;
+};
+
bool
fs_generator::patch_discard_jumps_to_fb_writes()
{
--
2.0.4
More information about the mesa-dev
mailing list