i965/fs: Allocate a common IR builder object in fs_visitor.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 3 Jun 2015 16:59:44 +0000 (19:59 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 9 Jun 2015 12:18:31 +0000 (15:18 +0300)
commite04b4156a745fc09afa066c892c1913362eae9df
tree43c0fb48d94bb42dcaad9b1ff80664134867e621
parent8ea8f83c8f6b932749ada32ac666d151a9636508
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>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp