Skip to main content

BuiltIn

Struct BuiltIn 

Source
pub struct BuiltIn(/* private fields */);

Implementations§

Source§

impl BuiltIn

Source

pub const POSITION: Self

Source

pub const POINT_SIZE: Self

Source

pub const CLIP_DISTANCE: Self

Source

pub const CULL_DISTANCE: Self

Source

pub const VERTEX_ID: Self

Source

pub const INSTANCE_ID: Self

Source

pub const PRIMITIVE_ID: Self

Source

pub const INVOCATION_ID: Self

Source

pub const LAYER: Self

Source

pub const VIEWPORT_INDEX: Self

Source

pub const TESS_LEVEL_OUTER: Self

Source

pub const TESS_LEVEL_INNER: Self

Source

pub const TESS_COORD: Self

Source

pub const PATCH_VERTICES: Self

Source

pub const FRAG_COORD: Self

Source

pub const POINT_COORD: Self

Source

pub const FRONT_FACING: Self

Source

pub const SAMPLE_ID: Self

Source

pub const SAMPLE_POSITION: Self

Source

pub const SAMPLE_MASK: Self

Source

pub const FRAG_DEPTH: Self

Source

pub const HELPER_INVOCATION: Self

Source

pub const NUM_WORKGROUPS: Self

Source

pub const WORKGROUP_SIZE: Self

Source

pub const WORKGROUP_ID: Self

Source

pub const LOCAL_INVOCATION_ID: Self

Source

pub const GLOBAL_INVOCATION_ID: Self

Source

pub const LOCAL_INVOCATION_INDEX: Self

Source

pub const WORK_DIM: Self

Source

pub const GLOBAL_SIZE: Self

Source

pub const ENQUEUED_WORKGROUP_SIZE: Self

Source

pub const GLOBAL_OFFSET: Self

Source

pub const GLOBAL_LINEAR_ID: Self

Source

pub const SUBGROUP_SIZE: Self

Source

pub const SUBGROUP_MAX_SIZE: Self

Source

pub const NUM_SUBGROUPS: Self

Source

pub const NUM_ENQUEUED_SUBGROUPS: Self

Source

pub const SUBGROUP_ID: Self

Source

pub const SUBGROUP_LOCAL_INVOCATION_ID: Self

Source

pub const VERTEX_INDEX: Self

Source

pub const INSTANCE_INDEX: Self

Source

pub const CORE_IDARM: Self

Source

pub const CORE_COUNT_ARM: Self

Source

pub const CORE_MAX_IDARM: Self

Source

pub const WARP_IDARM: Self

Source

pub const WARP_MAX_IDARM: Self

Source

pub const SUBGROUP_EQ_MASK: Self

Source

pub const SUBGROUP_GE_MASK: Self

Source

pub const SUBGROUP_GT_MASK: Self

Source

pub const SUBGROUP_LE_MASK: Self

Source

pub const SUBGROUP_LT_MASK: Self

Source

pub const BASE_VERTEX: Self

Source

pub const BASE_INSTANCE: Self

Source

pub const DRAW_INDEX: Self

Source

pub const PRIMITIVE_SHADING_RATE_KHR: Self

Source

pub const DEVICE_INDEX: Self

Source

pub const VIEW_INDEX: Self

Source

pub const SHADING_RATE_KHR: Self

Source

pub const TILE_OFFSET_QCOM: Self

Source

pub const TILE_DIMENSION_QCOM: Self

Source

pub const TILE_APRON_SIZE_QCOM: Self

Source

pub const BARY_COORD_NO_PERSP_AMD: Self

Source

pub const BARY_COORD_NO_PERSP_CENTROID_AMD: Self

Source

pub const BARY_COORD_NO_PERSP_SAMPLE_AMD: Self

Source

pub const BARY_COORD_SMOOTH_AMD: Self

Source

pub const BARY_COORD_SMOOTH_CENTROID_AMD: Self

Source

pub const BARY_COORD_SMOOTH_SAMPLE_AMD: Self

Source

pub const BARY_COORD_PULL_MODEL_AMD: Self

Source

pub const FRAG_STENCIL_REF_EXT: Self

Source

pub const REMAINING_RECURSION_LEVELS_AMDX: Self

Source

pub const SHADER_INDEX_AMDX: Self

Source

pub const SAMPLER_HEAP_EXT: Self

Source

pub const RESOURCE_HEAP_EXT: Self

Source

pub const VIEWPORT_MASK_NV: Self

Source

pub const SECONDARY_POSITION_NV: Self

Source

pub const SECONDARY_VIEWPORT_MASK_NV: Self

Source

pub const POSITION_PER_VIEW_NV: Self

Source

pub const VIEWPORT_MASK_PER_VIEW_NV: Self

Source

pub const FULLY_COVERED_EXT: Self

Source

pub const TASK_COUNT_NV: Self

Source

pub const PRIMITIVE_COUNT_NV: Self

Source

pub const PRIMITIVE_INDICES_NV: Self

Source

pub const CLIP_DISTANCE_PER_VIEW_NV: Self

Source

pub const CULL_DISTANCE_PER_VIEW_NV: Self

Source

pub const LAYER_PER_VIEW_NV: Self

Source

pub const MESH_VIEW_COUNT_NV: Self

Source

pub const MESH_VIEW_INDICES_NV: Self

Source

pub const BARY_COORD_KHR: Self

Source

pub const BARY_COORD_NO_PERSP_KHR: Self

Source

pub const FRAG_SIZE_EXT: Self

Source

pub const FRAG_INVOCATION_COUNT_EXT: Self

Source

pub const PRIMITIVE_POINT_INDICES_EXT: Self

Source

pub const PRIMITIVE_LINE_INDICES_EXT: Self

Source

pub const PRIMITIVE_TRIANGLE_INDICES_EXT: Self

Source

pub const CULL_PRIMITIVE_EXT: Self

Source

pub const LAUNCH_ID_KHR: Self

Source

pub const LAUNCH_SIZE_KHR: Self

Source

pub const WORLD_RAY_ORIGIN_KHR: Self

Source

pub const WORLD_RAY_DIRECTION_KHR: Self

Source

pub const OBJECT_RAY_ORIGIN_KHR: Self

Source

pub const OBJECT_RAY_DIRECTION_KHR: Self

Source

pub const RAY_TMIN_KHR: Self

Source

pub const RAY_TMAX_KHR: Self

Source

pub const INSTANCE_CUSTOM_INDEX_KHR: Self

Source

pub const OBJECT_TO_WORLD_KHR: Self

Source

pub const WORLD_TO_OBJECT_KHR: Self

Source

pub const HIT_TNV: Self

Source

pub const HIT_KIND_KHR: Self

Source

pub const CURRENT_RAY_TIME_NV: Self

Source

pub const HIT_TRIANGLE_VERTEX_POSITIONS_KHR: Self

Source

pub const HIT_MICRO_TRIANGLE_VERTEX_POSITIONS_NV: Self

Source

pub const HIT_MICRO_TRIANGLE_VERTEX_BARYCENTRICS_NV: Self

Source

pub const INCOMING_RAY_FLAGS_KHR: Self

Source

pub const RAY_GEOMETRY_INDEX_KHR: Self

Source

pub const HIT_IS_SPHERE_NV: Self

Source

pub const HIT_IS_LSSNV: Self

Source

pub const HIT_SPHERE_POSITION_NV: Self

Source

pub const WARPS_PER_SMNV: Self

Source

pub const SMCOUNT_NV: Self

Source

pub const WARP_IDNV: Self

Source

pub const SMIDNV: Self

Source

pub const HIT_LSSPOSITIONS_NV: Self

Source

pub const HIT_KIND_FRONT_FACING_MICRO_TRIANGLE_NV: Self

Source

pub const HIT_KIND_BACK_FACING_MICRO_TRIANGLE_NV: Self

Source

pub const HIT_SPHERE_RADIUS_NV: Self

Source

pub const HIT_LSSRADII_NV: Self

Source

pub const CLUSTER_IDNV: Self

Source

pub const CULL_MASK_KHR: Self

Trait Implementations§

Source§

impl Clone for BuiltIn

Source§

fn clone(&self) -> BuiltIn

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for BuiltIn

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for BuiltIn

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for BuiltIn

Source§

fn eq(&self, other: &BuiltIn) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Word for BuiltIn

Source§

fn from_word(word: u32) -> Self

Source§

impl Copy for BuiltIn

Source§

impl Eq for BuiltIn

Source§

impl StructuralPartialEq for BuiltIn

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<'a, T> WordExt<'a> for T
where T: Word,

Source§

fn parse_one(stream: &mut InstructionStream<'a>) -> ParseResult<Self>

Parses one word.
Source§

fn parse_optional( stream: &mut InstructionStream<'a>, ) -> ParseResult<Option<Self>>

Tries to optionally parse one word.
Source§

fn parse_eos(stream: &mut InstructionStream<'a>) -> ParseResult<&'a [Self]>

Parses words until the end of the stream.