Move convert_* functions into gpuconvert.rs (#31521)

* feat: unify convert_* functions across gpu*.rs files #31104

* chore: reorder and format
This commit is contained in:
eri 2024-03-06 17:48:34 +01:00 committed by GitHub
parent 7ce19f2885
commit a8170966ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 365 additions and 339 deletions

View file

@ -17,7 +17,8 @@ use crate::dom::bindings::str::USVString;
use crate::dom::globalscope::GlobalScope;
use crate::dom::gpubindgroup::GPUBindGroup;
use crate::dom::gpubuffer::GPUBuffer;
use crate::dom::gpudevice::{convert_label, GPUDevice};
use crate::dom::gpuconvert::convert_label;
use crate::dom::gpudevice::GPUDevice;
use crate::dom::gpurenderbundle::GPURenderBundle;
use crate::dom::gpurenderpipeline::GPURenderPipeline;