i965: Do better fake context setup in unit tests
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 17 Apr 2015 22:23:18 +0000 (15:23 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 22 Apr 2015 23:00:32 +0000 (16:00 -0700)
commita921475c22fe88fb6921a1f628d3ea05d55ba43b
tree79b6b0318bd83cca59fe8b17ca8026dd29208838
parentceb6e5eebe13b85f57cf5a7a22371c10170943a3
i965: Do better fake context setup in unit tests

In future tests, we will start relying on devinfo and not just brw in the
compiler.  Changing this now keeps these tests from failing in the future.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/test_eu_compact.c
src/mesa/drivers/dri/i965/test_fs_cmod_propagation.cpp
src/mesa/drivers/dri/i965/test_fs_saturate_propagation.cpp
src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp
src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp