wgpu-native icon indicating copy to clipboard operation
wgpu-native copied to clipboard

Update headers

Open PJB3005 opened this issue 1 year ago • 3 comments

Add wgpuAdapterGetInfo to replace wgpuAdapterRequestAdapterInfo. Actually implemented this time unlike wgpuAdapterRequestAdapterInfo. And wgpuAdapterInfoFreeMembers.

wgpuDeviceSetUncapturedErrorCallback replaced in favor of field on instance descriptor

wgpuSurfaceGetPreferredFormat deleted

Add usage to WGPUSurfaceCapabilities

PJB3005 avatar Jun 11 '24 10:06 PJB3005

LGTM. Anyone know what the deal is with WGPUAdapterProperties vs WGPUAdapterInfo?

almarklein avatar Jun 12 '24 07:06 almarklein

Seems like properties needs to be removed, actually: https://github.com/webgpu-native/webgpu-headers/issues/304#issuecomment-2161374820 https://github.com/webgpu-native/webgpu-headers/pull/305

PJB3005 avatar Jun 12 '24 12:06 PJB3005

CI is failing because enumerate_adapters example also needs to be updated: https://github.com/gfx-rs/wgpu-native/actions/runs/9490406866/job/26153820533?pr=392

rajveermalviya avatar Jun 14 '24 13:06 rajveermalviya

Thanks!

rajveermalviya avatar Jul 18 '24 16:07 rajveermalviya