diff options
Diffstat (limited to 'components/webgpu/script_messages.rs')
-rw-r--r-- | components/webgpu/script_messages.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/components/webgpu/script_messages.rs b/components/webgpu/script_messages.rs index 774bfd6cb7c..35571bb9242 100644 --- a/components/webgpu/script_messages.rs +++ b/components/webgpu/script_messages.rs @@ -11,8 +11,9 @@ use crate::gpu_error::Error; use crate::identity::WebGPUDevice; use crate::wgc::id::{ AdapterId, BindGroupId, BindGroupLayoutId, BufferId, CommandBufferId, ComputePassEncoderId, - ComputePipelineId, DeviceId, PipelineLayoutId, QuerySetId, RenderBundleId, RenderPipelineId, - SamplerId, ShaderModuleId, StagingBufferId, SurfaceId, TextureId, TextureViewId, + ComputePipelineId, DeviceId, PipelineLayoutId, QuerySetId, RenderBundleId, RenderPassEncoderId, + RenderPipelineId, SamplerId, ShaderModuleId, StagingBufferId, SurfaceId, TextureId, + TextureViewId, }; /// <https://gpuweb.github.io/gpuweb/#enumdef-gpudevicelostreason> @@ -45,6 +46,7 @@ pub enum WebGPUMsg { FreeStagingBuffer(StagingBufferId), FreeQuerySet(QuerySetId), FreeComputePass(ComputePassEncoderId), + FreeRenderPass(RenderPassEncoderId), UncapturedError { device: WebGPUDevice, pipeline_id: PipelineId, |