Skip to content

util/vulkan: call util_cpu_detect from vk_instance_init

Iago Toral requested to merge itoral/mesa:vulkan_glsl_util_cpu_detect into master

Suggested by Jason, this series does two things:

  • Moves the glsl_type singleton init/deref to vk_instance, removing it from all Vulkan drivers.
  • Calls util_cpu_detect from glsl_type_singleton_init_or_ref, which make sure this is always called at least once for most drivers.

Merge request reports