diff options
author | Kunal Mohan <kunalmohan99@gmail.com> | 2020-06-04 01:19:13 +0530 |
---|---|---|
committer | Kunal Mohan <kunalmohan99@gmail.com> | 2020-06-04 01:19:13 +0530 |
commit | 3b5ede153d61c2c033326b5df2417e3757dba17b (patch) | |
tree | 96bee91b9cef09d97e5a27445b745c71a5d5361a /components/script/dom/gpucommandencoder.rs | |
parent | 1d4efb48ba904aab93ebad3a2892aed46444088f (diff) | |
download | servo-3b5ede153d61c2c033326b5df2417e3757dba17b.tar.gz servo-3b5ede153d61c2c033326b5df2417e3757dba17b.zip |
Update wgpu-core and wgpu-types
Diffstat (limited to 'components/script/dom/gpucommandencoder.rs')
-rw-r--r-- | components/script/dom/gpucommandencoder.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/gpucommandencoder.rs b/components/script/dom/gpucommandencoder.rs index 6fcd1bc23b6..d0ba2dc8624 100644 --- a/components/script/dom/gpucommandencoder.rs +++ b/components/script/dom/gpucommandencoder.rs @@ -192,12 +192,14 @@ impl GPUCommandEncoderMethods for GPUCommandEncoder { GPUStoreOp::Clear => wgt::StoreOp::Clear, }, clear_depth, + depth_read_only: depth.depthReadOnly, stencil_load_op, stencil_store_op: match depth.stencilStoreOp { GPUStoreOp::Store => wgt::StoreOp::Store, GPUStoreOp::Clear => wgt::StoreOp::Clear, }, clear_stencil, + stencil_read_only: depth.stencilReadOnly, } }); |