mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
chore: update wgpu to v26 (#39016)
Vello has updated to wgpu v26 recently. It might be a good time for servo to update as well. This PR should wait for #39015 and #38717 Testing: WebGPU CTS Fixes: None --------- Signed-off-by: Wu Yu Wei <yuweiwu@pm.me>
This commit is contained in:
parent
2d5eac386f
commit
a0c3dcefe4
13 changed files with 635 additions and 208636 deletions
|
@ -5,7 +5,7 @@
|
|||
//! Render pass commands
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use wgpu_core::command::{RenderPass, RenderPassError};
|
||||
use wgpu_core::command::{PassStateError, RenderPass};
|
||||
use wgpu_core::global::Global;
|
||||
use wgpu_core::id::{BindGroupId, BufferId, RenderBundleId, RenderPipelineId};
|
||||
|
||||
|
@ -75,7 +75,7 @@ pub fn apply_render_command(
|
|||
global: &Global,
|
||||
pass: &mut RenderPass,
|
||||
command: RenderCommand,
|
||||
) -> Result<(), RenderPassError> {
|
||||
) -> Result<(), PassStateError> {
|
||||
match command {
|
||||
RenderCommand::SetPipeline(pipeline_id) => {
|
||||
global.render_pass_set_pipeline(pass, pipeline_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue