WIP check-vulkan: Bundle the required shaders using GResource
Bundling the shaders makes it easier to ship the relocatable version of the Vulkan helper.
It also fixes the issue reported in #62 (closed).
Fixes: #62 (closed)
Merge request reports
Activity
WARNING: GLib compiled dependencies do not work reliably with the current version of GLib. See the following upstream issue: https://bugzilla.gnome.org/show_bug.cgi?id=774368 helpers/meson.build:96:0: ERROR: The "dependencies" argument of gnome.compile_resources() can not be used with the current version of glib-compile-resources due to <https://bugzilla.gnome.org/show_bug.cgi?id=774368>
Of course...
I used the
dependencies
option to prevent meson to concurrently executegnome.compile_resources
and the shader custom target validator.I'll check later how to workaround that.
Apparently we need at least GLib 2.51.1, that is way newer than GLib 2.32 that we have in Scout. https://github.com/mesonbuild/meson/blob/2fabd4c7dc22373e99fc63823d80083ad30704b8/mesonbuild/modules/gnome.py#L42
And removing the
dependencies
option is not even enough to make it work on Scout.I guess we need to postpone the usage of GResource for the future, when s-r-t will stop to depend on Scout.
mentioned in merge request !261 (merged)