Some doc fixes (#2598)

This commit is contained in:
Rua 2024-10-30 18:27:09 +01:00 committed by GitHub
parent 3f4de467be
commit 4b93472562
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -592,7 +592,7 @@ vulkan_enum! {
/// [`FragmentShadingRateState`](crate::pipeline::graphics::fragment_shading_rate::FragmentShadingRateState). /// [`FragmentShadingRateState`](crate::pipeline::graphics::fragment_shading_rate::FragmentShadingRateState).
/// ///
/// Set with /// 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 FragmentShadingRate = FRAGMENT_SHADING_RATE_KHR
RequiresOneOf([ RequiresOneOf([
RequiresAllOf([DeviceExtension(khr_fragment_shading_rate)]), RequiresAllOf([DeviceExtension(khr_fragment_shading_rate)]),

View File

@ -10,9 +10,9 @@
//! An event can also be signaled from the host, by calling the [`set`] method directly on the //! An event can also be signaled from the host, by calling the [`set`] method directly on the
//! [`Event`]. //! [`Event`].
//! //!
//! [`set_event`]: crate::command_buffer::sys::RecordingCommandBuffer::set_event //! [`set_event`]: crate::command_buffer::RecordingCommandBuffer::set_event
//! [pipeline barrier]: crate::command_buffer::sys::RecordingCommandBuffer::pipeline_barrier //! [pipeline barrier]: crate::command_buffer::RecordingCommandBuffer::pipeline_barrier
//! [`wait_events`]: crate::command_buffer::sys::RecordingCommandBuffer::wait_events //! [`wait_events`]: crate::command_buffer::RecordingCommandBuffer::wait_events
//! [`set`]: Event::set //! [`set`]: Event::set
use crate::{ use crate::{
@ -227,7 +227,7 @@ impl Event {
/// - There must be an execution dependency between `reset` and the execution of any /// - 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`] 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] #[inline]
pub unsafe fn reset(&mut self) -> Result<(), Validated<VulkanError>> { pub unsafe fn reset(&mut self) -> Result<(), Validated<VulkanError>> {
self.validate_reset()?; self.validate_reset()?;