mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
move(core): s/create_render_pass/begin_render_pass/
This commit is contained in:
parent
194d4b1f36
commit
25a51606d1
@ -126,7 +126,7 @@ impl GPUCommandEncoder {
|
|||||||
|
|
||||||
let (render_pass, err) = self
|
let (render_pass, err) = self
|
||||||
.instance
|
.instance
|
||||||
.command_encoder_create_render_pass(self.id, &wgpu_descriptor);
|
.command_encoder_begin_render_pass(self.id, &wgpu_descriptor);
|
||||||
|
|
||||||
self.error_handler.push_error(err);
|
self.error_handler.push_error(err);
|
||||||
|
|
||||||
|
|||||||
@ -1389,7 +1389,7 @@ impl Global {
|
|||||||
/// If successful, puts the encoder into the [`Locked`] state.
|
/// If successful, puts the encoder into the [`Locked`] state.
|
||||||
///
|
///
|
||||||
/// [`Locked`]: crate::command::CommandEncoderStatus::Locked
|
/// [`Locked`]: crate::command::CommandEncoderStatus::Locked
|
||||||
pub fn command_encoder_create_render_pass(
|
pub fn command_encoder_begin_render_pass(
|
||||||
&self,
|
&self,
|
||||||
encoder_id: id::CommandEncoderId,
|
encoder_id: id::CommandEncoderId,
|
||||||
desc: &RenderPassDescriptor<'_>,
|
desc: &RenderPassDescriptor<'_>,
|
||||||
@ -1575,7 +1575,7 @@ impl Global {
|
|||||||
push_constant_data,
|
push_constant_data,
|
||||||
} = base;
|
} = base;
|
||||||
|
|
||||||
let (mut render_pass, encoder_error) = self.command_encoder_create_render_pass(
|
let (mut render_pass, encoder_error) = self.command_encoder_begin_render_pass(
|
||||||
encoder_id,
|
encoder_id,
|
||||||
&RenderPassDescriptor {
|
&RenderPassDescriptor {
|
||||||
label: label.as_deref().map(Cow::Borrowed),
|
label: label.as_deref().map(Cow::Borrowed),
|
||||||
|
|||||||
@ -2299,7 +2299,7 @@ impl dispatch::CommandEncoderInterface for CoreCommandEncoder {
|
|||||||
end_of_pass_write_index: tw.end_of_pass_write_index,
|
end_of_pass_write_index: tw.end_of_pass_write_index,
|
||||||
});
|
});
|
||||||
|
|
||||||
let (pass, err) = self.context.0.command_encoder_create_render_pass(
|
let (pass, err) = self.context.0.command_encoder_begin_render_pass(
|
||||||
self.id,
|
self.id,
|
||||||
&wgc::command::RenderPassDescriptor {
|
&wgc::command::RenderPassDescriptor {
|
||||||
label: desc.label.map(Borrowed),
|
label: desc.label.map(Borrowed),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user