createBindGroup accepts textures from different device #5582
Closed
Description
Description
CreateBindGroup does not create ValidationError when textures (happens also when using StorageTexture) are from different devices. When using Samplers from different devices ValidationError is triggered.
Repro steps
Repro is here: https://github.com/sagudev/CBG
Extra materials
This causes Set must be allocated from this allocator
crash in gpu-allocator while testing https://gpuweb.github.io/cts/standalone/?q=webgpu:api,validation,createBindGroup:binding_resources,device_mismatch:entry={%22texture%22:{%22multisampled%22:false}} in both servo and firefox.
Platform
Ubuntu 23.10
Wgpu 0.19.4 and trunk (4f3d9a2)
Metadata
Assignees
Type
Projects
Status
Done