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).
///
/// 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)]),

View File

@ -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<VulkanError>> {
self.validate_reset()?;