anv: fix a build race between generating a header and using it

anv_batch_chain.c includes genX_bits.h but doesn't ensure it gets
generated first. This causes build failures, as observed here:
https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/1501/steps/8/logs/step2d

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7412>
This commit is contained in:
Alexander Kanavin 2020-11-02 23:23:53 +01:00
parent 5d2e9d76c1
commit 8bb1a75b4f
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ libanv_files = files(
anv_deps = [
dep_libdrm,
dep_valgrind,
idep_genxml,
idep_nir_headers,
idep_vulkan_util_headers,
]