From 4b934725628a409de7e8360ce16a112bc485e006 Mon Sep 17 00:00:00 2001 From: Rua Date: Wed, 30 Oct 2024 18:27:09 +0100 Subject: [PATCH] Some doc fixes (#2598) --- vulkano/src/pipeline/mod.rs | 2 +- vulkano/src/sync/event.rs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/vulkano/src/pipeline/mod.rs b/vulkano/src/pipeline/mod.rs index d1186d1f..435a6f70 100644 --- a/vulkano/src/pipeline/mod.rs +++ b/vulkano/src/pipeline/mod.rs @@ -592,7 +592,7 @@ vulkan_enum! { /// [`FragmentShadingRateState`](crate::pipeline::graphics::fragment_shading_rate::FragmentShadingRateState). /// /// Set with - /// [`set_fragment_shading_rate`](crate::command_buffer::RecordingCommandBuffer::set_fragment_shading_rate). + /// [`set_fragment_shading_rate`](crate::command_buffer::AutoCommandBufferBuilder::set_fragment_shading_rate). FragmentShadingRate = FRAGMENT_SHADING_RATE_KHR RequiresOneOf([ RequiresAllOf([DeviceExtension(khr_fragment_shading_rate)]), diff --git a/vulkano/src/sync/event.rs b/vulkano/src/sync/event.rs index 4798eecf..36025a6d 100644 --- a/vulkano/src/sync/event.rs +++ b/vulkano/src/sync/event.rs @@ -10,9 +10,9 @@ //! An event can also be signaled from the host, by calling the [`set`] method directly on the //! [`Event`]. //! -//! [`set_event`]: crate::command_buffer::sys::RecordingCommandBuffer::set_event -//! [pipeline barrier]: crate::command_buffer::sys::RecordingCommandBuffer::pipeline_barrier -//! [`wait_events`]: crate::command_buffer::sys::RecordingCommandBuffer::wait_events +//! [`set_event`]: crate::command_buffer::RecordingCommandBuffer::set_event +//! [pipeline barrier]: crate::command_buffer::RecordingCommandBuffer::pipeline_barrier +//! [`wait_events`]: crate::command_buffer::RecordingCommandBuffer::wait_events //! [`set`]: Event::set use crate::{ @@ -227,7 +227,7 @@ impl Event { /// - There must be an execution dependency between `reset` and the execution of any /// [`wait_events`] command that includes this event in its `events` parameter. /// - /// [`wait_events`]: crate::command_buffer::sys::RecordingCommandBuffer::wait_events + /// [`wait_events`]: crate::command_buffer::RecordingCommandBuffer::wait_events #[inline] pub unsafe fn reset(&mut self) -> Result<(), Validated> { self.validate_reset()?;