#Way to force disable specified extensions
7 messages · Page 1 of 1 (latest)
but... why?
wgpu exhibited a bug when running under renderdoc, which does not support Wayland (so it does not advertise that extension). But wgpu assumes it is there if the library user provides a wayland window handle.
But in order to test my fix works, I need to force the loader to not advertise the wayland extension
Although I could just not ask wgpu to request the extension then...
The loader has no built in mechanism to remove extensions.
However, renderdoc is a layer and so layers are capable of interception vkEnumerateInstance|DeviceExtensionProperties and removing/adding/changing any and all of the data
you could even 'enable' the renderdoc layer manually and see if it removes the wayland extension
I've already proven that renderdoc removes the wayland extension via earlier debugging