diff options
author | Kunal Mohan <kunalmohan99@gmail.com> | 2020-08-22 13:52:27 +0530 |
---|---|---|
committer | Kunal Mohan <kunalmohan99@gmail.com> | 2020-08-22 17:43:10 +0530 |
commit | 9c3967158ae099736ec6c3cbf7b134385e1724aa (patch) | |
tree | 81be92552bc882947601f42756f93ef6c1a4bccf /components/script/dom/gpucomputepassencoder.rs | |
parent | e1bfc7aa0d39edcbd1144b7d071179cdb3722824 (diff) | |
download | servo-9c3967158ae099736ec6c3cbf7b134385e1724aa.tar.gz servo-9c3967158ae099736ec6c3cbf7b134385e1724aa.zip |
defer encoding errors to finish()
Diffstat (limited to 'components/script/dom/gpucomputepassencoder.rs')
-rw-r--r-- | components/script/dom/gpucomputepassencoder.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/gpucomputepassencoder.rs b/components/script/dom/gpucomputepassencoder.rs index a73ee8bde34..f0f4325ae6d 100644 --- a/components/script/dom/gpucomputepassencoder.rs +++ b/components/script/dom/gpucomputepassencoder.rs @@ -99,10 +99,9 @@ impl GPUComputePassEncoderMethods for GPUComputePassEncoder { self.channel .0 .send(( - self.command_encoder.device().use_current_scope(), + None, WebGPURequest::RunComputePass { command_encoder_id: self.command_encoder.id().0, - device_id: self.command_encoder.device().id().0, compute_pass, }, )) |