Module: Mesa
Branch: main
Commit: 5b12a498f57a56ce0b0148a53d6d9397c6026143
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b12a498f57a56ce0b0148a53d6d9397c6026143

Author: Boris Brezillon <[email protected]>
Date:   Thu Mar 24 10:11:56 2022 +0100

vulkan/runtime: Add vk_cmd_queue.h to idep_vulkan_runtime_headers

If we don't do that, meson might start compiling source files
including vk_command_buffer.h which in turn includes vk_cmd_queue.h
before this file is even generated, and we end up with errors like
that https://gitlab.freedesktop.org/mesa/mesa/-/jobs/20157936#L1119.

Fixes: 6bd8a3c7e434 ("vulkan/runtime: Add a vk_cmd_queue object to 
vk_command_buffer")
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15546>

---

 src/vulkan/runtime/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/vulkan/runtime/meson.build b/src/vulkan/runtime/meson.build
index fec1d0af693..af134efb04e 100644
--- a/src/vulkan/runtime/meson.build
+++ b/src/vulkan/runtime/meson.build
@@ -162,6 +162,7 @@ libvulkan_runtime = static_library(
 )
 
 idep_vulkan_runtime_headers = declare_dependency(
+  sources : [vk_cmd_queue[1]],
   include_directories : include_directories('.')
 )
 

Reply via email to