freedreno/ir3: Add missing ld_args_build_id to the ir3_delay unit test.
authorEric Anholt <eric@anholt.net>
Mon, 20 Jul 2020 17:06:02 +0000 (10:06 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 20 Jul 2020 22:11:51 +0000 (22:11 +0000)
It triggers the disk cache for me, and asserts abount not getting the
build id right.

Fixes: f97acb4bb4b1 ("freedreno/ir3: disk-cache support")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5989>

src/freedreno/ir3/meson.build

index 06f004322caf161465631209e98ce4172cb29902..833543d9fda98528a89d65ea8a7d494fcebfc583 100644 (file)
@@ -131,6 +131,7 @@ test('ir3_delay_test',
     'ir3_delay_test',
     'tests/delay.c',
     link_with: libfreedreno_ir3,
+    link_args: ld_args_build_id,
     dependencies: [idep_mesautil, idep_nir],
     include_directories: [inc_freedreno, inc_include, inc_src, inc_mesa, inc_gallium],
   ),