diff options
author | Francisco Jerez <currojerez@riseup.net> | 2015-06-03 19:59:44 +0300 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2015-06-09 15:18:31 +0300 |
commit | e04b4156a745fc09afa066c892c1913362eae9df (patch) | |
tree | 43c0fb48d94bb42dcaad9b1ff80664134867e621 /src/mesa/drivers/dri/i965/brw_fs.h | |
parent | 8ea8f83c8f6b932749ada32ac666d151a9636508 (diff) | |
download | external_mesa3d-e04b4156a745fc09afa066c892c1913362eae9df.zip external_mesa3d-e04b4156a745fc09afa066c892c1913362eae9df.tar.gz external_mesa3d-e04b4156a745fc09afa066c892c1913362eae9df.tar.bz2 |
i965/fs: Allocate a common IR builder object in fs_visitor.
v2: Call fs_builder::at_end() to point the builder at the end of the
program explicitly.
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index 3bdf0a2..bdda9d0 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.h +++ b/src/mesa/drivers/dri/i965/brw_fs.h @@ -29,6 +29,7 @@ #include "brw_shader.h" #include "brw_ir_fs.h" +#include "brw_fs_builder.h" extern "C" { @@ -453,6 +454,7 @@ public: const unsigned dispatch_width; /**< 8 or 16 */ unsigned promoted_constants; + brw::fs_builder bld; }; /** |