File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ impl GPUCommandEncoder {
158
158
159
159
let ( compute_pass, err) = self
160
160
. instance
161
- . command_encoder_create_compute_pass ( self . id , & wgpu_descriptor) ;
161
+ . command_encoder_begin_compute_pass ( self . id , & wgpu_descriptor) ;
162
162
163
163
self . error_handler . push_error ( err) ;
164
164
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ impl Global {
281
281
/// If successful, puts the encoder into the [`Locked`] state.
282
282
///
283
283
/// [`Locked`]: crate::command::CommandEncoderStatus::Locked
284
- pub fn command_encoder_create_compute_pass (
284
+ pub fn command_encoder_begin_compute_pass (
285
285
& self ,
286
286
encoder_id : id:: CommandEncoderId ,
287
287
desc : & ComputePassDescriptor < ' _ > ,
@@ -360,7 +360,7 @@ impl Global {
360
360
push_constant_data,
361
361
} = base;
362
362
363
- let ( mut compute_pass, encoder_error) = self . command_encoder_create_compute_pass (
363
+ let ( mut compute_pass, encoder_error) = self . command_encoder_begin_compute_pass (
364
364
encoder_id,
365
365
& ComputePassDescriptor {
366
366
label : label. as_deref ( ) . map ( std:: borrow:: Cow :: Borrowed ) ,
Original file line number Diff line number Diff line change @@ -2238,7 +2238,7 @@ impl dispatch::CommandEncoderInterface for CoreCommandEncoder {
2238
2238
end_of_pass_write_index : tw. end_of_pass_write_index ,
2239
2239
} ) ;
2240
2240
2241
- let ( pass, err) = self . context . 0 . command_encoder_create_compute_pass (
2241
+ let ( pass, err) = self . context . 0 . command_encoder_begin_compute_pass (
2242
2242
self . id ,
2243
2243
& wgc:: command:: ComputePassDescriptor {
2244
2244
label : desc. label . map ( Borrowed ) ,
You can’t perform that action at this time.
0 commit comments