Closed rajveermalviya closed 7 months ago
Updates #337
Add a temporary workaround for unsupported request_adapter call with a specific backend type. Instead encourage the use of InstanceExtras extension for InstanceDescriptor for that usecase.
InstanceExtras
InstanceDescriptor
Upstream issue:
Example usage:
WGPUInstanceExtras instanceExtras = { 0 }; instanceExtras.chain.sType = (WGPUSType)WGPUSType_InstanceExtras; instanceExtras.backends = WGPUInstanceBackend_DX12; WGPUInstanceDescriptor instanceDescriptor = { 0 }; instanceDescriptor.nextInChain = &instanceExtras.chain; WGPUInstance instance = wgpuCreateInstance(&instanceDescriptor);
Updates #337
Add a temporary workaround for unsupported request_adapter call with a specific backend type. Instead encourage the use of
InstanceExtras
extension forInstanceDescriptor
for that usecase.Upstream issue:
Example usage: