mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
chore: Update wgpu and fix webgpu pref (#35020)
* Update wgpu to v24 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * `dom.webgpu.enabled` -> `dom_webgpu_enabled` Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Update expectations Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
d58aa7fc04
commit
b92a598e62
7 changed files with 28 additions and 147 deletions
|
@ -20,7 +20,6 @@ use wgc::command::{ComputePass, ComputePassDescriptor, RenderPass};
|
|||
use wgc::device::{DeviceDescriptor, ImplicitPipelineIds};
|
||||
use wgc::id;
|
||||
use wgc::id::DeviceId;
|
||||
use wgc::instance::parse_backends_from_comma_list;
|
||||
use wgc::pipeline::ShaderModuleDescriptor;
|
||||
use wgc::resource::BufferMapOperation;
|
||||
use wgpu_core::command::RenderPassDescriptor;
|
||||
|
@ -135,7 +134,7 @@ impl WGPU {
|
|||
"Selecting backends based on dom.webgpu.wgpu_backend pref: {:?}",
|
||||
backend_pref
|
||||
);
|
||||
parse_backends_from_comma_list(&backend_pref)
|
||||
wgt::Backends::from_comma_list(&backend_pref)
|
||||
};
|
||||
let global = Arc::new(wgc::global::Global::new(
|
||||
"wgpu-core",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue