summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-11-12 11:01:16 -0800
committerMatt Turner <[email protected]>2014-11-21 10:26:44 -0800
commit279c1c80b678df188104b22e2076e4efe60e3193 (patch)
tree4a0a4a23781ada877deb3f0c9ecbf4832243d918 /src
parentd9432af45a1a69d0cd1dcf12edfae920adeb4734 (diff)
i965/fs: Move ip_record class to its one use.
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.h12
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_generator.cpp12
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 a675b2ef6e1..f778c26939f 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 3b9bfe48df3..ab5d22317ed 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()
{