Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2020
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. std.log.debug("got dlopen. init vulkan", .{});
  2.  
  3. std.log.debug("allocAdvancedWithRetAddr: Call", .{});
  4. _ = try Alloc.allocAdvancedWithRetAddr(gpa, [*]const u8, 8, 64, .at_least, @returnAddress());
  5. std.log.debug("allocAdvancedWithRetAddr: Return", .{});
  6.  
  7. // This loads shared libraries, so that when we dlopen libxcb.so.1, it will have
  8. // already been loaded by the vulkan driver. This requires a patch to Vulkan-Loader
  9. // to use RTLD_GLOBAL instead of RTLD_LOCAL.
  10. try createInstance(gpa);
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement