i965: Make add_const_offset_to_base() work at the shader level.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 13 Jan 2016 23:04:39 +0000 (15:04 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 15 Jan 2016 05:32:59 +0000 (21:32 -0800)
commita3500f943e2c61c0aed043108132f35b79d16676
tree6b29ab8110ea645dbd1eaf9e3f957d3b7fc35c65
parent824d82025d0bff9841647942aca501fba16fc1a9
i965: Make add_const_offset_to_base() work at the shader level.

This makes it a pass, hiding the parameter structs and block callbacks
so it's simpler to work with.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_nir.c