diff options
author | Matt Turner <[email protected]> | 2014-11-12 11:01:16 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-11-21 10:26:44 -0800 |
commit | 279c1c80b678df188104b22e2076e4efe60e3193 (patch) | |
tree | 4a0a4a23781ada877deb3f0c9ecbf4832243d918 /src/mesa | |
parent | d9432af45a1a69d0cd1dcf12edfae920adeb4734 (diff) |
i965/fs: Move ip_record class to its one use.
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.h | 12 | ||||
-rw-r--r-- | 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 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() { |