wgpu_device_create_bind_group
brendan-duncan opened this issue · comments
return wgpuStoreAndSetParent(bindGroup, device);
should be
return wgpuStoreAndSetParent(bindGroup, wgpu[device]);
Think I might be mistaken about this.
Actually it is an issue, I was looking at the old version when I thought it might not be.
It seems several other functions were also changed to not cache the wgpu[device] and have the same issue.
wgpu_device_create_bind_group_layout
wgpu_device_create_pipeline_layout
wgpu_device_create_compute_pipeline
Fixed in above commit.