intel/mi_builder: Create a context in the tests
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 18 Feb 2021 02:00:53 +0000 (20:00 -0600)
committerMarge Bot <eric+marge@anholt.net>
Thu, 18 Feb 2021 21:28:40 +0000 (21:28 +0000)
commit749ae5af93d31042feefcdab917ecf42d26b5863
treea1b965cfb5faec6a5fc051b340e34e7026f26521
parent3f290b4f650b2e06bf2da25be8ad1f593c920fc1
intel/mi_builder: Create a context in the tests

This makes them work on the simulator

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9116>
src/intel/common/tests/gen_mi_builder_test.cpp