Skip to content

Commit

Permalink
Some doc fixes (#2598)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rua authored Oct 30, 2024
1 parent 3f4de46 commit 4b93472
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion vulkano/src/pipeline/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]),
Expand Down
8 changes: 4 additions & 4 deletions vulkano/src/sync/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::{
Expand Down Expand Up @@ -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<VulkanError>> {
self.validate_reset()?;
Expand Down

0 comments on commit 4b93472

Please sign in to comment.