mesa: c6e8d2c6593820e48eb2f1088c4d06ad633e509e (master 10.5.0-devel)
$ make check
./.libs/libi965_dri.a(brw_vec4_visitor.o): In function `brw::vec4_visitor::visit(ir_texture*)':
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp:2435: undefined reference to `_mesa_get_sampler_uniform_value'
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp:2438: undefined reference to `_mesa_get_sampler_array_nonconst_index'
Created attachment 110918 [details] [review]
remove extern "C" stuff from brw_vec4_visitor.cpp
Does this fix it, Vinson?
Created attachment 110919 [details] [review]
Err, try this one instead.
Author: Mark Janes <email@example.com>
Date: Tue Dec 16 14:29:28 2014 -0800
i965: remove includes of sampler.h from extern "C" blocks
C linkage was removed from functions in program/sampler.cpp. However,
some cpp files include program/sampler.h within extern "C" blocks,
causing link errors for test_vec4_copy_propagation.
Reviewed-by: Brian Paul <firstname.lastname@example.org>
Tested-by: Ian Romanick <email@example.com>