mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-21 14:24:18 +00:00
Some doc fixes (#2598)
This commit is contained in:
parent
3f4de467be
commit
4b93472562
@ -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)]),
|
||||||
|
@ -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()?;
|
||||||
|
Loading…
Reference in New Issue
Block a user