mpv +vulkan USE flag fails to compile when vulkan-loader does not have +X. (And probably vulkan-loader needs both, +X and +layers, I did not test those separately.)
please provide build logs.