Enum sierra::PipelineStage
source · pub enum PipelineStage {
Show 14 variants
TopOfPipe,
DrawIndirect,
VertexInput,
VertexShader,
EarlyFragmentTests,
FragmentShader,
LateFragmentTests,
ColorAttachmentOutput,
ComputeShader,
Transfer,
BottomOfPipe,
Host,
RayTracingShader,
AccelerationStructureBuild,
}
Expand description
Enum to specify one pipeline stage.
Variants§
TopOfPipe
Pseudo-stage that precedes all other stages and doesn’t execute any commands. Using it in first scope of dependency will not cause any waiting, because no operations should be waited upon. Using it in second scope will make all operations in second scope to wait for operations first scope.
DrawIndirect
Stage at which indirect draw buffer is read.
VertexInput
Stage at which vertex buffers are read.
VertexShader
Stage at which vertex shader is executed.
EarlyFragmentTests
Stage at which early fragment depth and stencil test is performed before fragment shader execution.
FragmentShader
Stage at which fragment shader is executed.
LateFragmentTests
Stage at which late fragment depth and stencil test is performed after fragment shader execution.
ColorAttachmentOutput
Stage at which color output of fragment shader is written and multi-sample resolve operation happens.
ComputeShader
Stage at which compute shader is executed.
Transfer
Stage at which transfer commands (Copy, Blit etc) are executed.
BottomOfPipe
Pseudo-stage that follows all other stages and doesn’t execute any commands. Using it in first scope will make operations in second scope to wait for all operations first scope. Using it in second scope of dependency will not cause any waiting, because no operations should be waited upon.
Host
Pseudo-stage at which HOST access to resources is performed. It has very limited use because command submission creates memory dependency between host access and device operations.
RayTracingShader
Stage at which ray-tracing pipeline is executed.
AccelerationStructureBuild
Stage at which acceleration structures are built.
Trait Implementations§
source§impl Clone for PipelineStage
impl Clone for PipelineStage
source§fn clone(&self) -> PipelineStage
fn clone(&self) -> PipelineStage
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PipelineStage
impl Debug for PipelineStage
source§impl Hash for PipelineStage
impl Hash for PipelineStage
source§impl PartialEq<PipelineStage> for PipelineStage
impl PartialEq<PipelineStage> for PipelineStage
source§fn eq(&self, other: &PipelineStage) -> bool
fn eq(&self, other: &PipelineStage) -> bool
self
and other
values to be equal, and is used
by ==
.