SYMBOL INDEX (1895 symbols across 122 files) FILE: build.rs function main (line 4) | fn main() -> io::Result<()> { FILE: examples/test_file.rs constant ROOT (line 8) | pub const ROOT: &str = env!("CARGO_MANIFEST_DIR"); function main (line 11) | async fn main() { FILE: lib/naga/benches/criterion.rs function gather_inputs (line 4) | fn gather_inputs(folder: &str, extension: &str) -> Vec> { function parse_glsl (line 28) | fn parse_glsl(stage: naga::ShaderStage, inputs: &[Box<[u8]>]) { function frontends (line 40) | fn frontends(c: &mut Criterion) { function gather_modules (line 100) | fn gather_modules() -> Vec { function gather_modules (line 112) | fn gather_modules() -> Vec { function validation (line 116) | fn validation(c: &mut Criterion) { function backends (line 145) | fn backends(c: &mut Criterion) { FILE: lib/naga/cli/src/main.rs type Args (line 8) | struct Args { type BoundsCheckPolicyArg (line 89) | struct BoundsCheckPolicyArg(naga::proc::BoundsCheckPolicy); type Err (line 92) | type Err = String; method from_str (line 94) | fn from_str(s: &str) -> Result { type ShaderModelArg (line 112) | struct ShaderModelArg(naga::back::hlsl::ShaderModel); type Err (line 115) | type Err = String; method from_str (line 117) | fn from_str(s: &str) -> Result { type GlslProfileArg (line 130) | struct GlslProfileArg(naga::back::glsl::Version); type Err (line 133) | type Err = String; method from_str (line 135) | fn from_str(s: &str) -> Result { type Parameters (line 148) | struct Parameters { type PrettyResult (line 160) | trait PrettyResult { method unwrap_pretty (line 162) | fn unwrap_pretty(self) -> Self::Target; type Target (line 182) | type Target = T; method unwrap_pretty (line 183) | fn unwrap_pretty(self) -> T { function print_err (line 165) | fn print_err(error: &dyn Error) { function main (line 194) | fn main() { type CliError (line 203) | struct CliError(&'static str); method fmt (line 205) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function run (line 211) | fn run() -> Result<(), Box> { function emit_glsl_parser_error (line 588) | pub fn emit_glsl_parser_error(errors: Vec, fil... function emit_annotated_error (line 604) | pub fn emit_annotated_error(ann_err: &WithSpan, filename: &... FILE: lib/naga/fuzz/fuzz_targets/glsl_parser.rs type ShaderStageProxy (line 10) | enum ShaderStageProxy { method from (line 17) | fn from(proxy: ShaderStageProxy) -> Self { type OptionsProxy (line 27) | struct OptionsProxy { method from (line 33) | fn from(proxy: OptionsProxy) -> Self { FILE: lib/naga/src/arena.rs type Index (line 6) | type Index = NonZeroU32; type BadHandle (line 13) | pub struct BadHandle { type Handle (line 28) | pub struct Handle { method clone (line 35) | fn clone(&self) -> Self { method eq (line 46) | fn eq(&self, other: &Self) -> bool { method partial_cmp (line 54) | fn partial_cmp(&self, other: &Self) -> Option { method cmp (line 60) | fn cmp(&self, other: &Self) -> Ordering { function fmt (line 66) | fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { function hash (line 72) | fn hash(&self, hasher: &mut H) { constant DUMMY (line 79) | pub const DUMMY: Self = Handle { function new (line 84) | pub(crate) const fn new(index: Index) -> Self { function index (line 92) | pub const fn index(self) -> usize { function from_usize (line 98) | fn from_usize(index: usize) -> Self { function from_usize_unchecked (line 109) | const unsafe fn from_usize_unchecked(index: usize) -> Self { type Range (line 122) | pub struct Range { method clone (line 129) | fn clone(&self) -> Self { function fmt (line 138) | fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { type Item (line 144) | type Item = Handle; method next (line 145) | fn next(&mut self) -> Option { type Arena (line 169) | pub struct Arena { method default (line 178) | fn default() -> Self { function fmt (line 184) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { function new (line 191) | pub const fn new() -> Self { function into_inner (line 201) | pub fn into_inner(self) -> Vec { function len (line 206) | pub fn len(&self) -> usize { function is_empty (line 211) | pub fn is_empty(&self) -> bool { function iter (line 217) | pub fn iter(&self) -> impl DoubleEndedIterator, &T)> { function iter_mut (line 226) | pub fn iter_mut(&mut self) -> impl DoubleEndedIterator... function append (line 234) | pub fn append(&mut self, value: T, span: Span) -> Handle { function fetch_if (line 245) | pub fn fetch_if bool>(&self, fun: F) -> Option> { function fetch_if_or_append (line 256) | pub fn fetch_if_or_append bool>( function fetch_or_append (line 270) | pub fn fetch_or_append(&mut self, value: T, span: Span) -> Handle function try_get (line 277) | pub fn try_get(&self, handle: Handle) -> Result<&T, BadHandle> { function get_mut (line 285) | pub fn get_mut(&mut self, handle: Handle) -> &mut T { function range_from (line 290) | pub fn range_from(&self, old_length: usize) -> Range { function clear (line 298) | pub fn clear(&mut self) { function get_span (line 302) | pub fn get_span(&self, handle: Handle) -> Span { function deserialize (line 323) | fn deserialize(deserializer: D) -> Result type Output (line 342) | type Output = T; function index (line 343) | fn index(&self, handle: Handle) -> &T { function index_mut (line 349) | fn index_mut(&mut self, handle: Handle) -> &mut T { type Output (line 355) | type Output = [T]; function index (line 356) | fn index(&self, range: Range) -> &[T] { function append_non_unique (line 366) | fn append_non_unique() { function append_unique (line 375) | fn append_unique() { function fetch_or_append_non_unique (line 384) | fn fetch_or_append_non_unique() { function fetch_or_append_unique (line 393) | fn fetch_or_append_unique() { type UniqueArena (line 417) | pub struct UniqueArena { function new (line 432) | pub fn new() -> Self { function len (line 441) | pub fn len(&self) -> usize { function is_empty (line 446) | pub fn is_empty(&self) -> bool { function clear (line 451) | pub fn clear(&mut self) { function get_span (line 464) | pub fn get_span(&self, handle: Handle) -> Span { function iter (line 483) | pub fn iter(&self) -> impl DoubleEndedIterator, &T)> { function insert (line 505) | pub fn insert(&mut self, value: T, span: Span) -> Handle { function get (line 528) | pub fn get(&self, value: &T) -> Option> { function get_handle (line 535) | pub fn get_handle(&self, handle: Handle) -> Result<&T, BadHandle> { method default (line 544) | fn default() -> Self { function fmt (line 550) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Output (line 556) | type Output = T; function index (line 557) | fn index(&self, handle: Handle) -> &T { function serialize (line 567) | fn serialize(&self, serializer: S) -> Result function deserialize (line 580) | fn deserialize(deserializer: D) -> Result function arbitrary (line 602) | fn arbitrary(u: &mut arbitrary::Unstructured<'a>) -> arbitrary::Result) -> arbitrary::Res... function size_hint (line 623) | fn size_hint(depth: usize) -> (usize, Option) { FILE: lib/naga/src/back/dot/mod.rs type Options (line 22) | pub struct Options { type NodeId (line 28) | type NodeId = usize; type Targets (line 32) | struct Targets { type StatementGraph (line 41) | struct StatementGraph { method add (line 62) | fn add(&mut self, block: &[crate::Statement], targets: Targets) -> (No... function name (line 264) | fn name(option: &Option) -> &str { constant COLORS (line 272) | const COLORS: &[&str] = &[ function write_fun (line 278) | fn write_fun( function write_function_expressions (line 363) | fn write_function_expressions( function write (line 619) | pub fn write( FILE: lib/naga/src/back/glsl/features.rs type FeaturesManager (line 52) | pub struct FeaturesManager(Features); method new (line 56) | pub const fn new() -> Self { method request (line 61) | pub fn request(&mut self, features: Features) { method check_availability (line 68) | pub fn check_availability(&self, version: Version) -> BackendResult { method write (line 133) | pub fn write(&self, version: Version, mut out: impl Write) -> BackendR... function collect_required_features (line 255) | pub(super) fn collect_required_features(&mut self) -> BackendResult { function scalar_required_features (line 477) | fn scalar_required_features(&mut self, kind: ScalarKind, width: Bytes) { function varying_required_features (line 483) | fn varying_required_features(&mut self, binding: Option<&Binding>, ty: H... FILE: lib/naga/src/back/glsl/keywords.rs constant RESERVED_KEYWORDS (line 1) | pub const RESERVED_KEYWORDS: &[&str] = &[ FILE: lib/naga/src/back/glsl/mod.rs constant SUPPORTED_CORE_VERSIONS (line 67) | pub const SUPPORTED_CORE_VERSIONS: &[u16] = &[330, 400, 410, 420, 430, 4... constant SUPPORTED_ES_VERSIONS (line 69) | pub const SUPPORTED_ES_VERSIONS: &[u16] = &[300, 310, 320]; constant CLAMPED_LOD_SUFFIX (line 73) | const CLAMPED_LOD_SUFFIX: &str = "_clamped_lod"; type BindingMap (line 76) | pub type BindingMap = std::collections::BTreeMap &'static str { function is_buffer (line 94) | const fn is_buffer(&self) -> bool { function initializable (line 102) | const fn initializable(&self) -> bool { type Version (line 118) | pub enum Version { method new_gles (line 127) | pub const fn new_gles(version: u16) -> Self { method is_es (line 135) | const fn is_es(&self) -> bool { method is_webgl (line 143) | const fn is_webgl(&self) -> bool { method is_supported (line 156) | fn is_supported(&self) -> bool { method supports_explicit_locations (line 169) | fn supports_explicit_locations(&self) -> bool { method supports_early_depth_test (line 173) | fn supports_early_depth_test(&self) -> bool { method supports_std430_layout (line 177) | fn supports_std430_layout(&self) -> bool { method supports_fma_function (line 181) | fn supports_fma_function(&self) -> bool { method fmt (line 199) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method partial_cmp (line 187) | fn partial_cmp(&self, other: &Self) -> Option { type Options (line 224) | pub struct Options { method default (line 234) | fn default() -> Self { type PipelineOptions (line 247) | pub struct PipelineOptions { type ReflectionInfo (line 259) | pub struct ReflectionInfo { type TextureMapping (line 276) | pub struct TextureMapping { type IdGenerator (line 285) | struct IdGenerator(u32); method generate (line 289) | fn generate(&mut self) -> u32 { type VaryingName (line 304) | struct VaryingName<'a> { function fmt (line 311) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method to_str (line 337) | const fn to_str(self) -> &'static str { type BackendResult (line 347) | type BackendResult = Result; type Error (line 351) | pub enum Error { type BinaryOperation (line 384) | enum BinaryOperation { type Writer (line 396) | pub struct Writer<'a, W> { function new (line 439) | pub fn new( function write (line 500) | pub fn write(&mut self) -> Result { function write_array_size (line 728) | fn write_array_size( function write_value_type (line 779) | fn write_value_type(&mut self, inner: &TypeInner) -> BackendResult { function write_type (line 849) | fn write_type(&mut self, ty: Handle) -> BackendResult { function write_image_type (line 870) | fn write_image_type( function write_global (line 919) | fn write_global( function write_simple_global (line 987) | fn write_simple_global( function write_interface_block (line 1025) | fn write_interface_block( function update_expressions_to_bake (line 1078) | fn update_expressions_to_bake(&mut self, func: &crate::Function, info: &... function get_global_name (line 1119) | fn get_global_name( function write_global_name (line 1138) | fn write_global_name( function write_varying (line 1190) | fn write_varying( function write_function (line 1290) | fn write_function( function write_slice (line 1500) | fn write_slice BackendResult>( function write_constant (line 1523) | fn write_constant(&mut self, handle: Handle) -> Backend... function write_dot_product (line 1565) | fn write_dot_product( function write_struct_body (line 1604) | fn write_struct_body( function write_stmt (line 1664) | fn write_stmt( function write_expr (line 2101) | fn write_expr( function write_clamped_lod (line 3065) | fn write_clamped_lod( function get_coordinate_vector_size (line 3097) | fn get_coordinate_vector_size(&self, dim: crate::ImageDimension, arrayed... function write_texture_coord (line 3113) | fn write_texture_coord( function write_image_store (line 3155) | fn write_image_store( function write_image_load (line 3204) | fn write_image_load( function write_named_expr (line 3462) | fn write_named_expr( function write_zero_init_value (line 3499) | fn write_zero_init_value(&mut self, ty: Handle) -> BackendR... function write_zero_init_scalar (line 3554) | fn write_zero_init_scalar(&mut self, kind: crate::ScalarKind) -> Backend... function write_storage_access (line 3570) | fn write_storage_access(&mut self, storage_access: crate::StorageAccess)... function collect_reflection_info (line 3581) | fn collect_reflection_info(&self) -> Result { type ScalarString (line 3646) | struct ScalarString<'a> { function glsl_scalar (line 3659) | const fn glsl_scalar( function glsl_built_in (line 3693) | const fn glsl_built_in( function glsl_storage_qualifier (line 3741) | const fn glsl_storage_qualifier(space: crate::AddressSpace) -> Option<&'... function glsl_interpolation (line 3756) | const fn glsl_interpolation(interpolation: crate::Interpolation) -> &'st... function glsl_sampling (line 3767) | const fn glsl_sampling(sampling: crate::Sampling) -> Option<&'static str> { function glsl_dimension (line 3778) | const fn glsl_dimension(dim: crate::ImageDimension) -> &'static str { function glsl_storage_format (line 3790) | const fn glsl_storage_format(format: crate::StorageFormat) -> &'static s... function is_value_init_supported (line 3829) | fn is_value_init_supported(module: &crate::Module, ty: Handle &'static str { function to_hlsl_str (line 20) | pub(super) const fn to_hlsl_str(self, width: crate::Bytes) -> Result<&'s... function is_matrix (line 36) | pub(super) const fn is_matrix(&self) -> bool { function try_size_hlsl (line 43) | pub(super) fn try_size_hlsl( function hlsl_type_id (line 75) | pub(super) fn hlsl_type_id<'a>( function to_hlsl_str (line 117) | pub(super) const fn to_hlsl_str(self) -> &'static str { function to_hlsl_str (line 153) | pub(super) fn to_hlsl_str(self) -> Result<&'static str, Error> { function to_hlsl_str (line 191) | pub(super) const fn to_hlsl_str(self) -> Option<&'static str> { function to_hlsl_str (line 204) | pub(super) const fn to_hlsl_str(self) -> Option<&'static str> { function to_hlsl_suffix (line 215) | pub(super) const fn to_hlsl_suffix(self) -> &'static str { FILE: lib/naga/src/back/hlsl/help.rs type WrappedArrayLength (line 34) | pub(super) struct WrappedArrayLength { type WrappedImageQuery (line 39) | pub(super) struct WrappedImageQuery { type WrappedConstructor (line 47) | pub(super) struct WrappedConstructor { type WrappedStructMatrixAccess (line 52) | pub(super) struct WrappedStructMatrixAccess { type WrappedMatCx2 (line 58) | pub(super) struct WrappedMatCx2 { type ImageQuery (line 94) | pub(super) enum ImageQuery { method from (line 103) | fn from(q: crate::ImageQuery) -> Self { function write_image_type (line 116) | pub(super) fn write_image_type( function write_wrapped_array_length_function_name (line 147) | pub(super) fn write_wrapped_array_length_function_name( function write_wrapped_array_length_function (line 160) | pub(super) fn write_wrapped_array_length_function( function write_wrapped_image_query_function_name (line 208) | pub(super) fn write_wrapped_image_query_function_name( function write_wrapped_image_query_function (line 241) | pub(super) fn write_wrapped_image_query_function( function write_wrapped_constructor_function_name (line 356) | pub(super) fn write_wrapped_constructor_function_name( function write_wrapped_constructor_function (line 372) | pub(super) fn write_wrapped_constructor_function( function write_wrapped_struct_matrix_get_function_name (line 536) | pub(super) fn write_wrapped_struct_matrix_get_function_name( function write_wrapped_struct_matrix_get_function (line 547) | pub(super) fn write_wrapped_struct_matrix_get_function( function write_wrapped_struct_matrix_set_function_name (line 608) | pub(super) fn write_wrapped_struct_matrix_set_function_name( function write_wrapped_struct_matrix_set_function (line 619) | pub(super) fn write_wrapped_struct_matrix_set_function( function write_wrapped_struct_matrix_set_vec_function_name (line 678) | pub(super) fn write_wrapped_struct_matrix_set_vec_function_name( function write_wrapped_struct_matrix_set_vec_function (line 689) | pub(super) fn write_wrapped_struct_matrix_set_vec_function( function write_wrapped_struct_matrix_set_scalar_function_name (line 770) | pub(super) fn write_wrapped_struct_matrix_set_scalar_function_name( function write_wrapped_struct_matrix_set_scalar_function (line 781) | pub(super) fn write_wrapped_struct_matrix_set_scalar_function( function write_wrapped_functions (line 868) | pub(super) fn write_wrapped_functions( function write_wrapped_constructor_function_for_constant (line 1022) | pub(super) fn write_wrapped_constructor_function_for_constant( function write_texture_coordinates (line 1049) | pub(super) fn write_texture_coordinates( function write_mat_cx2_typedef_and_functions (line 1083) | pub(super) fn write_mat_cx2_typedef_and_functions( function write_all_mat_cx2_typedefs_and_functions (line 1149) | pub(super) fn write_all_mat_cx2_typedefs_and_functions( FILE: lib/naga/src/back/hlsl/keywords.rs constant RESERVED (line 7) | pub const RESERVED: &[&str] = &[ FILE: lib/naga/src/back/hlsl/mod.rs type BindTarget (line 115) | pub struct BindTarget { type BindingMap (line 123) | pub type BindingMap = std::collections::BTreeMap &'static str { function to_hlsl_str (line 147) | pub const fn to_hlsl_str(self) -> &'static str { function to_hlsl_str (line 157) | const fn to_hlsl_str(self) -> &'static str { type BackendResult (line 168) | type BackendResult = Result<(), Error>; type EntryPointError (line 173) | pub enum EntryPointError { type Options (line 182) | pub struct Options { method resolve_resource_binding (line 209) | fn resolve_resource_binding( method default (line 197) | fn default() -> Self { type ReflectionInfo (line 227) | pub struct ReflectionInfo { type Error (line 238) | pub enum Error { type Wrapped (line 250) | struct Wrapped { method clear (line 259) | fn clear(&mut self) { type Writer (line 268) | pub struct Writer<'a, W> { FILE: lib/naga/src/back/hlsl/storage.rs constant STORE_TEMP_NAME (line 15) | const STORE_TEMP_NAME: &str = "_value"; type SubAccess (line 18) | pub(super) enum SubAccess { type StoreValue (line 26) | pub(super) enum StoreValue { function write_storage_address (line 41) | pub(super) fn write_storage_address( function write_storage_load_sequence (line 67) | fn write_storage_load_sequence>( function write_storage_load (line 87) | pub(super) fn write_storage_load( function write_store_value (line 174) | fn write_store_value( function write_storage_store (line 200) | pub(super) fn write_storage_store( function fill_access_chain (line 365) | pub(super) fn fill_access_chain( FILE: lib/naga/src/back/hlsl/writer.rs constant LOCATION_SEMANTIC (line 13) | const LOCATION_SEMANTIC: &str = "LOC"; constant SPECIAL_CBUF_TYPE (line 14) | const SPECIAL_CBUF_TYPE: &str = "NagaConstants"; constant SPECIAL_CBUF_VAR (line 15) | const SPECIAL_CBUF_VAR: &str = "_NagaConstants"; constant SPECIAL_BASE_VERTEX (line 16) | const SPECIAL_BASE_VERTEX: &str = "base_vertex"; constant SPECIAL_BASE_INSTANCE (line 17) | const SPECIAL_BASE_INSTANCE: &str = "base_instance"; constant SPECIAL_OTHER (line 18) | const SPECIAL_OTHER: &str = "other"; type EpStructMember (line 20) | struct EpStructMember { type EntryPointBinding (line 30) | struct EntryPointBinding { type EntryPointInterface (line 40) | pub(super) struct EntryPointInterface { type InterfaceKey (line 53) | enum InterfaceKey { method new (line 60) | const fn new(binding: Option<&crate::Binding>) -> Self { type Io (line 70) | enum Io { function new (line 76) | pub fn new(out: W, options: &'a Options) -> Self { function reset (line 89) | fn reset(&mut self, module: &Module) { function write (line 98) | pub fn write( function write_modifier (line 311) | fn write_modifier(&mut self, binding: &crate::Binding) -> BackendResult { function write_semantic (line 341) | fn write_semantic( function write_interface_struct (line 363) | fn write_interface_struct( function write_ep_input_struct (line 412) | fn write_ep_input_struct( function write_ep_output_struct (line 455) | fn write_ep_output_struct( function write_ep_interface (line 491) | fn write_ep_interface( function write_ep_arguments_initialization (line 514) | fn write_ep_arguments_initialization( function write_global (line 560) | fn write_global( function write_global_constant (line 726) | fn write_global_constant( function write_array_size (line 771) | pub(super) fn write_array_size( function write_struct (line 808) | fn write_struct( function write_global_type (line 922) | pub(super) fn write_global_type( function write_type (line 956) | pub(super) fn write_type(&mut self, module: &Module, ty: Handle BackendRe... function write_named_expr (line 2774) | fn write_named_expr( function write_default_init (line 2813) | fn write_default_init(&mut self, module: &Module, ty: Handle Self { method fmt (line 35) | fn fmt(&self, formatter: &mut std::fmt::Formatter<'_>) -> Result<(), s... type FunctionType (line 43) | enum FunctionType { type FunctionCtx (line 51) | struct FunctionCtx<'a> { function name_key (line 64) | const fn name_key(&self, local: crate::Handle) -> ... function argument_key (line 75) | const fn argument_key(&self, arg: u32) -> crate::proc::NameKey { function is_fixed_function_input (line 85) | fn is_fixed_function_input( function bake_ref_count (line 131) | const fn bake_ref_count(&self) -> usize { function binary_operation_str (line 152) | const fn binary_operation_str(op: crate::BinaryOperator) -> &'static str { function vector_size_str (line 179) | const fn vector_size_str(size: crate::VectorSize) -> &'static str { function is_handle (line 188) | const fn is_handle(&self) -> bool { function is_terminator (line 200) | pub const fn is_terminator(&self) -> bool { FILE: lib/naga/src/back/msl/keywords.rs constant RESERVED (line 2) | pub const RESERVED: &[&str] = &[ FILE: lib/naga/src/back/msl/mod.rs type Slot (line 41) | pub type Slot = u8; type InlineSamplerIndex (line 42) | pub type InlineSamplerIndex = u8; type BindSamplerTarget (line 47) | pub enum BindSamplerTarget { type BindTarget (line 56) | pub struct BindTarget { type BindingMap (line 66) | pub type BindingMap = std::collections::BTreeMap &PerStageResources { type ResolvedBinding (line 104) | enum ResolvedBinding { method as_inline_sampler (line 360) | fn as_inline_sampler<'a>(&self, options: &'a Options) -> Option<&'a sa... method as_bind_target (line 370) | const fn as_bind_target(&self) -> Option<&BindTarget> { method try_fmt (line 377) | fn try_fmt(&self, out: &mut W) -> Result<(), Error> { type ResolvedInterpolation (line 117) | enum ResolvedInterpolation { method from_binding (line 442) | const fn from_binding(interpolation: crate::Interpolation, sampling: c... method try_fmt (line 457) | fn try_fmt(self, out: &mut W) -> Result<(), Error> { type Error (line 130) | pub enum Error { type EntryPointError (line 158) | pub enum EntryPointError { type LocationMode (line 176) | enum LocationMode { type Options (line 196) | pub struct Options { method resolve_local_binding (line 237) | fn resolve_local_binding( method resolve_resource_binding (line 294) | fn resolve_resource_binding( method resolve_push_constants (line 310) | const fn resolve_push_constants( method resolve_sizes_buffer (line 336) | fn resolve_sizes_buffer( method default (line 213) | fn default() -> Self { type PipelineOptions (line 229) | pub struct PipelineOptions { type TranslationInfo (line 474) | pub struct TranslationInfo { function write_string (line 482) | pub fn write_string( function test_error_size (line 494) | fn test_error_size() { FILE: lib/naga/src/back/msl/sampler.rs type Coord (line 10) | pub enum Coord { method as_str (line 22) | pub const fn as_str(&self) -> &'static str { method default (line 16) | fn default() -> Self { type Address (line 33) | pub enum Address { method as_str (line 48) | pub const fn as_str(&self) -> &'static str { method default (line 42) | fn default() -> Self { type BorderColor (line 62) | pub enum BorderColor { method as_str (line 75) | pub const fn as_str(&self) -> &'static str { method default (line 69) | fn default() -> Self { type Filter (line 87) | pub enum Filter { method as_str (line 93) | pub const fn as_str(&self) -> &'static str { method default (line 102) | fn default() -> Self { type CompareFunc (line 110) | pub enum CompareFunc { method as_str (line 128) | pub const fn as_str(&self) -> &'static str { method default (line 122) | fn default() -> Self { type InlineSampler (line 145) | pub struct InlineSampler { method hash (line 161) | fn hash(&self, hasher: &mut H) { FILE: lib/naga/src/back/msl/writer.rs type BackendResult (line 16) | type BackendResult = Result<(), Error>; constant NAMESPACE (line 18) | const NAMESPACE: &str = "metal"; constant WRAPPED_ARRAY_FIELD (line 22) | const WRAPPED_ARRAY_FIELD: &str = "inner"; constant ATOMIC_REFERENCE (line 26) | const ATOMIC_REFERENCE: &str = "&"; function put_numeric_type (line 36) | fn put_numeric_type( constant CLAMPED_LOD_LOAD_PREFIX (line 69) | const CLAMPED_LOD_LOAD_PREFIX: &str = "clamped_lod_e"; type TypeContext (line 71) | struct TypeContext<'a> { method fmt (line 81) | fn fmt(&self, out: &mut Formatter<'_>) -> Result<(), FmtError> { type TypedGlobalVariable (line 242) | struct TypedGlobalVariable<'a> { function try_fmt (line 252) | fn try_fmt(&self, out: &mut W) -> BackendResult { type ConstantContext (line 312) | struct ConstantContext<'a> { method fmt (line 320) | fn fmt(&self, out: &mut Formatter<'_>) -> Result<(), FmtError> { type Writer (line 356) | pub struct Writer { function to_msl_name (line 373) | const fn to_msl_name(self) -> &'static str { function separate (line 383) | const fn separate(need_separator: bool) -> &'static str { function should_pack_struct_member (line 391) | fn should_pack_struct_member( function needs_array_length (line 422) | fn needs_array_length(ty: Handle, arena: &crate::UniqueAren... function needs_pass_through (line 448) | const fn needs_pass_through(&self) -> bool { function needs_access_qualifier (line 461) | const fn needs_access_qualifier(&self) -> bool { function to_msl_name (line 477) | const fn to_msl_name(self) -> Option<&'static str> { function needs_alias (line 490) | const fn needs_alias(&self) -> bool { function needs_alias (line 511) | const fn needs_alias(&self) -> bool { type FunctionOrigin (line 519) | enum FunctionOrigin { type LevelOfDetail (line 534) | enum LevelOfDetail { type TexelAddress (line 548) | struct TexelAddress { type ExpressionContext (line 555) | struct ExpressionContext<'a> { function resolve_type (line 571) | fn resolve_type(&self, handle: Handle) -> &'a crate::... function image_needs_lod (line 581) | fn image_needs_lod(&self, image: Handle) -> bool { function choose_bounds_check_policy (line 590) | fn choose_bounds_check_policy( function access_needs_check (line 598) | fn access_needs_check( function get_packed_vec_kind (line 606) | fn get_packed_vec_kind( type StatementContext (line 628) | struct StatementContext<'a> { function new (line 636) | pub fn new(out: W) -> Self { function finish (line 654) | pub fn finish(self) -> W { function put_call_parameters (line 658) | fn put_call_parameters( function put_level_of_detail (line 674) | fn put_level_of_detail( function put_image_query (line 688) | fn put_image_query( function put_image_size_query (line 704) | fn put_image_size_query( function put_cast_to_uint_scalar_or_vector (line 758) | fn put_cast_to_uint_scalar_or_vector( function put_image_sample_level (line 780) | fn put_image_sample_level( function put_image_coordinate_limits (line 816) | fn put_image_coordinate_limits( function put_restricted_scalar_image_index (line 844) | fn put_restricted_scalar_image_index( function put_restricted_texel_address (line 859) | fn put_restricted_texel_address( function put_image_access_bounds_check (line 895) | fn put_image_access_bounds_check( function put_image_load (line 956) | fn put_image_load( function put_unchecked_image_load (line 995) | fn put_unchecked_image_load( function put_image_store (line 1024) | fn put_image_store( function put_unchecked_image_store (line 1061) | fn put_unchecked_image_store( function put_compose (line 1085) | fn put_compose( function put_dynamic_array_max_index (line 1133) | fn put_dynamic_array_max_index( function put_atomic_fetch (line 1184) | fn put_atomic_fetch( function put_dot_product (line 1223) | fn put_dot_product( function put_expression (line 1269) | fn put_expression( function put_wrapped_expression_for_packed_vec3_access (line 1829) | fn put_wrapped_expression_for_packed_vec3_access( function put_index (line 1846) | fn put_index( function put_bounds_checks (line 1891) | fn put_bounds_checks( function put_access_chain (line 1977) | fn put_access_chain( function put_subscripted_access_chain (line 2064) | fn put_subscripted_access_chain( function put_load (line 2118) | fn put_load( function put_unchecked_load (line 2149) | fn put_unchecked_load( function put_return_value (line 2181) | fn put_return_value( function update_expressions_to_bake (line 2279) | fn update_expressions_to_bake( function start_baking_expression (line 2328) | fn start_baking_expression( function put_cache_restricted_level (line 2379) | fn put_cache_restricted_level( function put_block (line 2418) | fn put_block( function put_store (line 2790) | fn put_store( function put_unchecked_store (line 2811) | fn put_unchecked_store( function write (line 2865) | pub fn write( function put_default_constructible (line 2935) | fn put_default_constructible(&mut self) -> BackendResult { function write_type_defs (line 2945) | fn write_type_defs(&mut self, module: &crate::Module) -> BackendResult { function write_scalar_constants (line 3080) | fn write_scalar_constants(&mut self, module: &crate::Module) -> BackendR... function write_composite_constants (line 3118) | fn write_composite_constants(&mut self, module: &crate::Module) -> Backe... function put_inline_sampler_properties (line 3155) | fn put_inline_sampler_properties( function write_functions (line 3234) | fn write_functions( function test_stack_size (line 3926) | fn test_stack_size() { FILE: lib/naga/src/back/spv/block.rs function get_dimension (line 12) | fn get_dimension(type_inner: &crate::TypeInner) -> Dimension { type ExpressionPointer (line 24) | enum ExpressionPointer { type BlockExit (line 41) | pub enum BlockExit { method write_epilogue_position_y_flip (line 67) | fn write_epilogue_position_y_flip( method write_epilogue_frag_depth_clamp (line 109) | fn write_epilogue_frag_depth_clamp( method write_entry_point_return (line 144) | fn write_entry_point_return( function is_intermediate (line 196) | fn is_intermediate(&self, expr_handle: Handle) -> bool { function cache_expression_value (line 218) | pub(super) fn cache_expression_value( function write_expression_pointer (line 1318) | fn write_expression_pointer( function write_matrix_matrix_column_op (line 1432) | fn write_matrix_matrix_column_op( function write_vector_scalar_mult (line 1489) | fn write_vector_scalar_mult( function write_dot_product (line 1528) | fn write_dot_product( function write_block (line 1589) | pub(super) fn write_block( FILE: lib/naga/src/back/spv/helpers.rs function bytes_to_words (line 4) | pub(super) fn bytes_to_words(bytes: &[u8]) -> Vec { function string_to_words (line 11) | pub(super) fn string_to_words(input: &str) -> Vec { function map_storage_class (line 23) | pub(super) const fn map_storage_class(space: crate::AddressSpace) -> spi... function contains_builtin (line 35) | pub(super) fn contains_builtin( function to_spirv_semantics_and_scope (line 53) | pub(super) const fn to_spirv_semantics_and_scope( function global_needs_wrapper (line 83) | pub fn global_needs_wrapper(ir_module: &crate::Module, var: &crate::Glob... FILE: lib/naga/src/back/spv/image.rs type ImageCoordinates (line 22) | struct ImageCoordinates { type Access (line 50) | trait Access { method generate (line 73) | fn generate( method result_type (line 85) | fn result_type(&self) -> Self::Output; method out_of_bounds_value (line 90) | fn out_of_bounds_value(&self, ctx: &mut BlockContext<'_>) -> Self::Out... type Output (line 148) | type Output = Word; method generate (line 151) | fn generate( method result_type (line 187) | fn result_type(&self) -> Word { method out_of_bounds_value (line 191) | fn out_of_bounds_value(&self, ctx: &mut BlockContext<'_>) -> Word { type Output (line 209) | type Output = (); method generate (line 211) | fn generate( method result_type (line 227) | fn result_type(&self) {} method out_of_bounds_value (line 230) | fn out_of_bounds_value(&self, _ctx: &mut BlockContext<'_>) {} type Load (line 96) | struct Load { method from_image_expr (line 109) | fn from_image_expr( type Store (line 199) | struct Store { function write_image_coordinates (line 260) | fn write_image_coordinates( function get_image_id (line 360) | fn get_image_id(&mut self, expr_handle: Handle) -> Wo... function write_coordinate_one (line 388) | fn write_coordinate_one(&mut self, coordinates: &ImageCoordinates) -> Re... function restrict_scalar (line 411) | fn restrict_scalar( function write_coordinate_bounds (line 449) | fn write_coordinate_bounds( function write_restricted_coordinates (line 498) | fn write_restricted_coordinates( function write_conditional_image_access (line 584) | fn write_conditional_image_access( function write_image_load (line 716) | pub(super) fn write_image_load( function write_image_sample (line 796) | pub(super) fn write_image_sample( function write_image_query (line 987) | pub(super) fn write_image_query( function write_image_store (line 1136) | pub(super) fn write_image_store( FILE: lib/naga/src/back/spv/index.rs type BoundsCheckResult (line 14) | pub(super) enum BoundsCheckResult { type MaybeKnown (line 27) | pub(super) enum MaybeKnown { function write_runtime_array_length (line 40) | pub(super) fn write_runtime_array_length( function write_sequence_length (line 91) | fn write_sequence_length( function write_sequence_max_index (line 121) | fn write_sequence_max_index( function write_restricted_index (line 167) | pub(super) fn write_restricted_index( function write_index_comparison (line 227) | fn write_index_comparison( function write_conditional_indexed_load (line 292) | pub(super) fn write_conditional_indexed_load( function write_bounds_check (line 336) | pub(super) fn write_bounds_check( function write_vector_access (line 360) | pub(super) fn write_vector_access( FILE: lib/naga/src/back/spv/instructions.rs type Signedness (line 4) | pub(super) enum Signedness { type SampleLod (line 9) | pub(super) enum SampleLod { type Case (line 14) | pub(super) struct Case { function source (line 24) | pub(super) fn source(source_language: spirv::SourceLanguage, version: u3... function name (line 31) | pub(super) fn name(target_id: Word, name: &str) -> Self { function member_name (line 38) | pub(super) fn member_name(target_id: Word, member: Word, name: &str) -> ... function decorate (line 50) | pub(super) fn decorate( function member_decorate (line 64) | pub(super) fn member_decorate( function extension (line 84) | pub(super) fn extension(name: &str) -> Self { function ext_inst_import (line 90) | pub(super) fn ext_inst_import(id: Word, name: &str) -> Self { function ext_inst (line 97) | pub(super) fn ext_inst( function memory_model (line 119) | pub(super) fn memory_model( function entry_point (line 129) | pub(super) fn entry_point( function execution_mode (line 147) | pub(super) fn execution_mode( function capability (line 161) | pub(super) fn capability(capability: spirv::Capability) -> Self { function type_void (line 171) | pub(super) fn type_void(id: Word) -> Self { function type_bool (line 177) | pub(super) fn type_bool(id: Word) -> Self { function type_int (line 183) | pub(super) fn type_int(id: Word, width: Word, signedness: Signedness) ->... function type_float (line 191) | pub(super) fn type_float(id: Word, width: Word) -> Self { function type_vector (line 198) | pub(super) fn type_vector( function type_matrix (line 210) | pub(super) fn type_matrix( function type_image (line 223) | pub(super) fn type_image( function type_sampler (line 246) | pub(super) fn type_sampler(id: Word) -> Self { function type_sampled_image (line 252) | pub(super) fn type_sampled_image(id: Word, image_type_id: Word) -> Self { function type_array (line 259) | pub(super) fn type_array(id: Word, element_type_id: Word, length_id: Wor... function type_runtime_array (line 267) | pub(super) fn type_runtime_array(id: Word, element_type_id: Word) -> Self { function type_struct (line 274) | pub(super) fn type_struct(id: Word, member_ids: &[Word]) -> Self { function type_pointer (line 285) | pub(super) fn type_pointer( function type_function (line 297) | pub(super) fn type_function(id: Word, return_type_id: Word, parameter_id... function constant_null (line 313) | pub(super) fn constant_null(result_type_id: Word, id: Word) -> Self { function constant_true (line 320) | pub(super) fn constant_true(result_type_id: Word, id: Word) -> Self { function constant_false (line 327) | pub(super) fn constant_false(result_type_id: Word, id: Word) -> Self { function constant (line 334) | pub(super) fn constant(result_type_id: Word, id: Word, values: &[Word]) ... function constant_composite (line 346) | pub(super) fn constant_composite( function variable (line 366) | pub(super) fn variable( function load (line 384) | pub(super) fn load( function atomic_load (line 402) | pub(super) fn atomic_load( function store (line 418) | pub(super) fn store( function atomic_store (line 434) | pub(super) fn atomic_store( function access_chain (line 448) | pub(super) fn access_chain( function array_length (line 466) | pub(super) fn array_length( function function (line 484) | pub(super) fn function( function function_parameter (line 498) | pub(super) fn function_parameter(result_type_id: Word, id: Word) -> Self { function function_end (line 505) | pub(super) const fn function_end() -> Self { function function_call (line 509) | pub(super) fn function_call( function sampled_image (line 531) | pub(super) fn sampled_image( function image_sample (line 545) | pub(super) fn image_sample( function image_gather (line 572) | pub(super) fn image_gather( function image_fetch_or_read (line 599) | pub(super) fn image_fetch_or_read( function image_write (line 614) | pub(super) fn image_write(image: Word, coordinates: Word, value: Word) -... function image_query (line 622) | pub(super) fn image_query(op: Op, result_type_id: Word, id: Word, image:... function unary (line 633) | pub(super) fn unary(op: Op, result_type_id: Word, id: Word, value: Word)... function composite_construct (line 645) | pub(super) fn composite_construct( function composite_extract (line 661) | pub(super) fn composite_extract( function vector_extract_dynamic (line 679) | pub(super) fn vector_extract_dynamic( function vector_shuffle (line 695) | pub(super) fn vector_shuffle( function binary (line 718) | pub(super) fn binary( function ternary (line 733) | pub(super) fn ternary( function quaternary (line 750) | pub(super) fn quaternary( function relational (line 769) | pub(super) fn relational(op: Op, result_type_id: Word, id: Word, expr_id... function atomic_binary (line 777) | pub(super) fn atomic_binary( function atomic_compare_exchange (line 796) | pub(super) fn atomic_compare_exchange( function derivative (line 830) | pub(super) fn derivative(op: Op, result_type_id: Word, id: Word, expr_id... function phi (line 842) | pub(super) fn phi( function selection_merge (line 857) | pub(super) fn selection_merge( function loop_merge (line 867) | pub(super) fn loop_merge( function label (line 879) | pub(super) fn label(id: Word) -> Self { function branch (line 885) | pub(super) fn branch(id: Word) -> Self { function branch_conditional (line 892) | pub(super) fn branch_conditional( function switch (line 904) | pub(super) fn switch(selector_id: Word, default_id: Word, cases: &[Case]... function select (line 915) | pub(super) fn select( function kill (line 931) | pub(super) const fn kill() -> Self { function return_void (line 935) | pub(super) const fn return_void() -> Self { function return_value (line 939) | pub(super) fn return_value(value_id: Word) -> Self { function control_barrier (line 955) | pub(super) fn control_barrier( function from (line 969) | fn from(format: crate::StorageFormat) -> Self { function from (line 1009) | fn from(dim: crate::ImageDimension) -> Self { FILE: lib/naga/src/back/spv/layout.rs constant GENERATOR (line 6) | const GENERATOR: Word = 28; method new (line 9) | pub(super) const fn new(version: Word) -> Self { method in_words (line 19) | pub(super) fn in_words(&self, sink: &mut impl Extend) { method recycle (line 29) | fn recycle(self) -> Self { method in_words (line 41) | pub(super) fn in_words(&self, sink: &mut impl Extend) { method recycle (line 57) | fn recycle(self) -> Self { method new (line 75) | pub(super) const fn new(op: Op) -> Self { method set_type (line 86) | pub(super) fn set_type(&mut self, id: Word) { method set_result (line 93) | pub(super) fn set_result(&mut self, id: Word) { method add_operand (line 99) | pub(super) fn add_operand(&mut self, operand: Word) { method add_operands (line 104) | pub(super) fn add_operands(&mut self, operands: Vec) { method to_words (line 110) | pub(super) fn to_words(&self, sink: &mut impl Extend) { method validate (line 120) | fn validate(&self, words: &[Word]) { function test_physical_layout_in_words (line 145) | fn test_physical_layout_in_words() { function test_logical_layout_in_words (line 159) | fn test_logical_layout_in_words() { FILE: lib/naga/src/back/spv/mod.rs type PhysicalLayout (line 27) | struct PhysicalLayout { type LogicalLayout (line 36) | struct LogicalLayout { type Instruction (line 50) | struct Instruction { constant BITS_PER_BYTE (line 58) | const BITS_PER_BYTE: crate::Bytes = 8; type Error (line 61) | pub enum Error { type IdGenerator (line 75) | struct IdGenerator(Word); method next (line 78) | fn next(&mut self) -> Word { type Block (line 95) | struct Block { method new (line 107) | const fn new(label_id: Word) -> Self { type TerminatedBlock (line 101) | struct TerminatedBlock { type LocalVariable (line 115) | struct LocalVariable { type ResultMember (line 120) | struct ResultMember { type EntryPointContext (line 126) | struct EntryPointContext { type Function (line 132) | struct Function { method consume (line 141) | fn consume(&mut self, mut block: Block, termination: Instruction) { method parameter_id (line 149) | fn parameter_id(&self, index: u32) -> Word { type LocalImageType (line 169) | struct LocalImageType { method from_inner (line 188) | fn from_inner(dim: crate::ImageDimension, arrayed: bool, class: crate:... type LocalType (line 265) | enum LocalType { type LookupType (line 323) | enum LookupType { method from (line 329) | fn from(local: LocalType) -> Self { type LookupFunctionType (line 335) | struct LookupFunctionType { function make_local (line 340) | fn make_local(inner: &crate::TypeInner) -> Option { type Dimension (line 391) | enum Dimension { type CachedExpressions (line 406) | struct CachedExpressions { method reset (line 410) | fn reset(&mut self, length: usize) { type Output (line 416) | type Output = Word; method index (line 417) | fn index(&self, h: Handle) -> &Word { method index_mut (line 426) | fn index_mut(&mut self, h: Handle) -> &mut Word { method recycle (line 435) | fn recycle(self) -> Self { type GlobalVariable (line 443) | struct GlobalVariable { method dummy (line 478) | const fn dummy() -> Self { method new (line 486) | const fn new(id: Word) -> Self { method reset_for_function (line 495) | fn reset_for_function(&mut self) { type FunctionArgument (line 501) | struct FunctionArgument { type BlockContext (line 508) | struct BlockContext<'w> { function gen_id (line 533) | fn gen_id(&mut self) -> Word { function get_type_id (line 537) | fn get_type_id(&mut self, lookup_type: LookupType) -> Word { function get_expression_type_id (line 541) | fn get_expression_type_id(&mut self, tr: &TypeResolution) -> Word { function get_index_constant (line 545) | fn get_index_constant(&mut self, index: Word) -> Word { function get_scope_constant (line 550) | fn get_scope_constant(&mut self, scope: Word) -> Word { type LoopContext (line 557) | struct LoopContext { type Writer (line 562) | pub struct Writer { type BindingInfo (line 625) | pub struct BindingInfo { type BindingMap (line 631) | pub type BindingMap = std::collections::BTreeMap Self { type PipelineOptions (line 677) | pub struct PipelineOptions { function write_vec (line 686) | pub fn write_vec( FILE: lib/naga/src/back/spv/recyclable.rs type Recyclable (line 23) | pub trait Recyclable { method recycle (line 29) | fn recycle(self) -> Self; method recycle (line 35) | fn recycle(mut self) -> Self { method recycle (line 42) | fn recycle(mut self) -> Self { method recycle (line 49) | fn recycle(mut self) -> Self { method recycle (line 56) | fn recycle(mut self) -> Self { FILE: lib/naga/src/back/spv/selection.rs type Selection (line 64) | pub(super) struct Selection<'b, M: MergeTuple> { function start (line 102) | pub(super) fn start(block: &'b mut Block, merge_types: M) -> Self { function block (line 111) | pub(super) fn block(&mut self) -> &mut Block { function if_true (line 122) | pub(super) fn if_true(&mut self, ctx: &mut BlockContext, cond: Word, val... function finish (line 143) | pub(super) fn finish(self, ctx: &mut BlockContext, final_values: M) -> M { function make_merge_label (line 174) | fn make_merge_label(&mut self, ctx: &mut BlockContext) -> Word { type MergeTuple (line 216) | pub(super) trait MergeTuple: Sized { method write_phis (line 222) | fn write_phis( method write_phis (line 235) | fn write_phis( method write_phis (line 256) | fn write_phis(self, _: &mut BlockContext, _: &mut Block, _: &[((), Wor... FILE: lib/naga/src/back/spv/writer.rs type FunctionInterface (line 17) | struct FunctionInterface<'a> { method to_words (line 23) | fn to_words(&self, sink: &mut impl Extend) { method new (line 43) | pub fn new(options: &Options) -> Result { method reset (line 91) | fn reset(&mut self) { method require_any (line 149) | pub(super) fn require_any( method use_extension (line 177) | pub(super) fn use_extension(&mut self, extension: &'static str) { method get_type_id (line 181) | pub(super) fn get_type_id(&mut self, lookup_ty: LookupType) -> Word { method get_expression_type_id (line 198) | pub(super) fn get_expression_type_id(&mut self, tr: &TypeResolution) -> ... method get_pointer_id (line 206) | pub(super) fn get_pointer_id( method get_uint_type_id (line 231) | pub(super) fn get_uint_type_id(&mut self) -> Word { method get_float_type_id (line 241) | pub(super) fn get_float_type_id(&mut self) -> Word { method get_float_pointer_type_id (line 251) | pub(super) fn get_float_pointer_type_id(&mut self, class: spirv::Storage... method get_bool_type_id (line 270) | pub(super) fn get_bool_type_id(&mut self) -> Word { method decorate (line 280) | pub(super) fn decorate(&mut self, id: Word, decoration: spirv::Decoratio... method write_function (line 285) | fn write_function( method write_execution_mode (line 623) | fn write_execution_mode( method write_entry_point (line 635) | fn write_entry_point( method make_scalar (line 693) | fn make_scalar( method request_image_capabilities (line 730) | fn request_image_capabilities(&mut self, inner: &crate::TypeInner) -> Re... method write_type_declaration_local (line 774) | fn write_type_declaration_local(&mut self, id: Word, local_ty: LocalType) { method write_type_declaration_arena (line 856) | fn write_type_declaration_arena( method request_image_format_capabilities (line 952) | fn request_image_format_capabilities( method get_index_constant (line 1008) | pub(super) fn get_index_constant(&mut self, index: Word) -> Word { method get_constant_scalar (line 1012) | pub(super) fn get_constant_scalar( method write_constant_scalar (line 1026) | fn write_constant_scalar( method write_constant_composite (line 1096) | fn write_constant_composite( method write_constant_null (line 1114) | pub(super) fn write_constant_null(&mut self, type_id: Word) -> Word { method write_varying (line 1140) | fn write_varying( method write_global_variable (line 1289) | fn write_global_variable( method decorate_struct_member (line 1407) | fn decorate_struct_member( method get_function_type (line 1460) | fn get_function_type(&mut self, lookup_function_type: LookupFunctionType... method write_physical_layout (line 1480) | fn write_physical_layout(&mut self) { method write_logical_layout (line 1484) | fn write_logical_layout( method write (line 1653) | pub fn write( method get_capabilities_used (line 1684) | pub const fn get_capabilities_used(&self) -> &crate::FastHashSet &'static str { FILE: lib/naga/src/back/wgsl/writer.rs type BackendResult (line 10) | type BackendResult = Result<(), Error>; type Attribute (line 13) | enum Attribute { type Indirection (line 37) | enum Indirection { type Writer (line 62) | pub struct Writer { function new (line 72) | pub fn new(out: W, flags: WriterFlags) -> Self { function reset (line 83) | fn reset(&mut self, module: &Module) { function write (line 96) | pub fn write(&mut self, module: &Module, info: &valid::ModuleInfo) -> Ba... function write_scalar_value (line 186) | fn write_scalar_value(&mut self, value: crate::ScalarValue) -> BackendRe... function write_struct_name (line 205) | fn write_struct_name(&mut self, module: &Module, handle: Handle BackendResult { function write_struct (line 393) | fn write_struct( function write_type (line 439) | fn write_type(&mut self, module: &Module, ty: Handle) -> Ba... function write_value_type (line 453) | fn write_value_type(&mut self, module: &Module, inner: &TypeInner) -> Ba... function write_stmt (line 643) | fn write_stmt( function plain_form_indirection (line 988) | fn plain_form_indirection( function start_named_expr (line 1025) | fn start_named_expr( function write_expr (line 1055) | fn write_expr( function write_expr_with_indirection (line 1076) | fn write_expr_with_indirection( function write_expr_plain_form (line 1110) | fn write_expr_plain_form( function write_global (line 1710) | fn write_global( function write_constant (line 1760) | fn write_constant( function write_global_constant (line 1818) | fn write_global_constant( function finish (line 1881) | pub fn finish(self) -> W { function builtin_str (line 1886) | const fn builtin_str(built_in: crate::BuiltIn) -> Option<&'static str> { function image_dimension_str (line 1909) | const fn image_dimension_str(dim: crate::ImageDimension) -> &'static str { function scalar_kind_str (line 1920) | const fn scalar_kind_str(kind: crate::ScalarKind) -> &'static str { function storage_format_str (line 1931) | const fn storage_format_str(format: crate::StorageFormat) -> &'static str { function interpolation_str (line 1971) | const fn interpolation_str(interpolation: crate::Interpolation) -> &'sta... function sampling_str (line 1982) | const fn sampling_str(sampling: crate::Sampling) -> &'static str { function address_space_str (line 1992) | const fn address_space_str( function map_binding_to_attribute (line 2017) | fn map_binding_to_attribute( function access_to_unsupported_builtin (line 2044) | fn access_to_unsupported_builtin( FILE: lib/naga/src/block.rs type Block (line 9) | pub struct Block { method new (line 17) | pub const fn new() -> Self { method from_vec (line 25) | pub fn from_vec(body: Vec) -> Self { method with_capacity (line 37) | pub fn with_capacity(capacity: usize) -> Self { method push (line 46) | pub fn push(&mut self, end: Statement, span: Span) { method extend (line 52) | pub fn extend(&mut self, item: Option<(Statement, Span)>) { method extend_block (line 58) | pub fn extend_block(&mut self, other: Self) { method append (line 64) | pub fn append(&mut self, other: &mut Self) { method cull (line 70) | pub fn cull + Clone>(&mut self, range: R) { method splice (line 76) | pub fn splice + Clone>(&mut self, range: R, othe... method span_iter (line 82) | pub fn span_iter(&self) -> impl Iterator { method span_iter_mut (line 91) | pub fn span_iter_mut(&mut self) -> impl Iterator bool { method len (line 104) | pub fn len(&self) -> usize { method deserialize (line 133) | fn deserialize(deserializer: D) -> Result method from (line 142) | fn from(body: Vec) -> Self { type Target (line 110) | type Target = [Statement]; method deref (line 111) | fn deref(&self) -> &[Statement] { method deref_mut (line 117) | fn deref_mut(&mut self) -> &mut [Statement] { type Item (line 123) | type Item = &'a Statement; type IntoIter (line 124) | type IntoIter = std::slice::Iter<'a, Statement>; method into_iter (line 126) | fn into_iter(self) -> std::slice::Iter<'a, Statement> { FILE: lib/naga/src/front/glsl/ast.rs type GlobalLookupKind (line 10) | pub enum GlobalLookupKind { type GlobalLookup (line 17) | pub struct GlobalLookup { type ParameterInfo (line 24) | pub struct ParameterInfo { type FunctionKind (line 33) | pub enum FunctionKind { method fmt (line 41) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Overload (line 50) | pub struct Overload { type FunctionDeclaration (line 83) | pub struct FunctionDeclaration { type EntryArg (line 90) | pub struct EntryArg { type VariableReference (line 98) | pub struct VariableReference { type HirExpr (line 109) | pub struct HirExpr { type HirExprKind (line 115) | pub enum HirExprKind { type QualifierKey (line 174) | pub enum QualifierKey<'a> { type QualifierValue (line 183) | pub enum QualifierValue { type TypeQualifiers (line 191) | pub struct TypeQualifiers<'a> { function unused_errors (line 206) | pub fn unused_errors(&self, errors: &mut Vec) { function uint_layout_qualifier (line 253) | pub fn uint_layout_qualifier( function none_layout_qualifier (line 280) | pub fn none_layout_qualifier(&mut self, name: &'a str, errors: &mut Vec<... type FunctionCallKind (line 303) | pub enum FunctionCallKind { type FunctionCall (line 309) | pub struct FunctionCall { type StorageQualifier (line 315) | pub enum StorageQualifier { method default (line 323) | fn default() -> Self { type StructLayout (line 329) | pub enum StructLayout { type Precision (line 353) | pub enum Precision { type ParameterQualifier (line 363) | pub enum ParameterQualifier { method is_lhs (line 372) | pub const fn is_lhs(&self) -> bool { method as_pos (line 380) | pub const fn as_pos(&self) -> ExprPos { type Profile (line 390) | pub enum Profile { FILE: lib/naga/src/front/glsl/builtins.rs function dummy_storage_format (line 16) | const fn dummy_storage_format(&self) -> crate::StorageFormat { method add_builtin (line 27) | fn add_builtin(&mut self, args: Vec, builtin: MacroCall) -> O... function make_coords_arg (line 56) | const fn make_coords_arg(number_of_components: usize, kind: Sk) -> TypeI... function inject_builtin (line 77) | pub fn inject_builtin( function inject_standard_builtins (line 462) | fn inject_standard_builtins( function inject_double_builtin (line 1018) | fn inject_double_builtin(declaration: &mut FunctionDeclaration, module: ... function inject_common_builtin (line 1166) | fn inject_common_builtin( type TextureLevelType (line 1569) | pub enum TextureLevelType { type MacroCall (line 1577) | pub enum MacroCall { method call (line 1618) | pub fn call( function texture_call (line 2101) | fn texture_call( type CoordComponents (line 2143) | struct CoordComponents { method coordinate_components (line 2152) | fn coordinate_components( function sampled_to_depth (line 2255) | pub fn sampled_to_depth( method from (line 2340) | fn from(variations: BuiltinVariations) -> Self { function texture_args_generator (line 2364) | fn texture_args_generator( function image_dims_to_coords_size (line 2411) | const fn image_dims_to_coords_size(dim: Dim) -> usize { FILE: lib/naga/src/front/glsl/constants.rs type ConstantSolver (line 8) | pub struct ConstantSolver<'a> { type ConstantSolvingError (line 15) | pub enum ConstantSolvingError { function solve (line 65) | pub fn solve( function access (line 302) | fn access( function constant_index (line 328) | fn constant_index(&self, constant: Handle) -> Result f64 { function glsl_float_min (line 592) | fn glsl_float_min(x: f64, y: f64) -> f64 { function glsl_float_clamp (line 605) | fn glsl_float_clamp(value: f64, min: f64, max: f64) -> f64 { function nan_handling (line 621) | fn nan_handling() { function unary_op (line 634) | fn unary_op() { function cast (line 767) | fn cast() { function access (line 812) | fn access() { FILE: lib/naga/src/front/glsl/context.rs type ExprPos (line 20) | pub enum ExprPos { method maybe_access_base (line 35) | const fn maybe_access_base(&self, constant_index: bool) -> Self { type Context (line 44) | pub struct Context { method new (line 61) | pub fn new(parser: &Parser, body: &mut Block) -> Self { method add_global (line 87) | pub fn add_global( method emit_start (line 173) | pub fn emit_start(&mut self) { method emit_end (line 185) | pub fn emit_end(&mut self, body: &mut Block) { method emit_restart (line 195) | pub fn emit_restart(&mut self, body: &mut Block) { method add_expression (line 200) | pub fn add_expression( method add_local_var (line 221) | pub fn add_local_var( method add_function_arg (line 239) | pub fn add_function_arg( method stmt_ctx (line 334) | pub fn stmt_ctx(&mut self) -> StmtContext { method lower (line 342) | pub fn lower( method lower_expect (line 363) | pub fn lower_expect( method lower_expect_inner (line 384) | pub fn lower_expect_inner( method lower_store (line 407) | fn lower_store( method lower_inner (line 469) | fn lower_inner( method expr_scalar_components (line 1414) | pub fn expr_scalar_components( method expr_power (line 1424) | pub fn expr_power( method conversion (line 1435) | pub fn conversion( method implicit_conversion (line 1454) | pub fn implicit_conversion( method forced_conversion (line 1474) | pub fn forced_conversion( method binary_implicit_conversion (line 1493) | pub fn binary_implicit_conversion( method implicit_splat (line 1526) | pub fn implicit_splat( method vector_resize (line 1544) | pub fn vector_resize( type Output (line 1564) | type Output = Expression; method index (line 1566) | fn index(&self, index: Handle) -> &Self::Output { type StmtContext (line 1576) | pub struct StmtContext { method new (line 1583) | const fn new() -> Self { FILE: lib/naga/src/front/glsl/error.rs function join_with_comma (line 7) | fn join_with_comma(list: &[ExpectedToken]) -> String { type ExpectedToken (line 22) | pub enum ExpectedToken { method from (line 39) | fn from(token: TokenValue) -> Self { method fmt (line 44) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ErrorKind (line 60) | pub enum ErrorKind { method from (line 120) | fn from(err: ConstantSolvingError) -> Self { type Error (line 129) | pub struct Error { FILE: lib/naga/src/front/glsl/functions.rs method add_constant_value (line 18) | fn add_constant_value( method function_or_constructor_call (line 41) | pub(crate) fn function_or_constructor_call( method constructor_single (line 70) | fn constructor_single( method matrix_one_arg (line 243) | fn matrix_one_arg( method vector_constructor (line 435) | fn vector_constructor( method constructor_many (line 496) | fn constructor_many( method function_call (line 592) | fn function_call( method add_function (line 1024) | pub(crate) fn add_function( method add_prototype (line 1116) | pub(crate) fn add_prototype( method arg_type_walker (line 1198) | fn arg_type_walker( method add_entry_point (line 1316) | pub(crate) fn add_entry_point( type Conversion (line 1455) | enum Conversion { function conversion (line 1472) | fn conversion(target: &TypeInner, source: &TypeInner) -> Option(args: impl Iterator { function new (line 32) | pub fn new(input: &'a str, defines: &'a FastHashMap) -> ... type Item (line 42) | type Item = LexerResult; method next (line 43) | fn next(&mut self) -> Option { function lex_tokens (line 212) | fn lex_tokens() { FILE: lib/naga/src/front/glsl/mod.rs type Result (line 38) | type Result = std::result::Result; type Options (line 50) | pub struct Options { method from (line 62) | fn from(stage: ShaderStage) -> Self { type ShaderMetadata (line 75) | pub struct ShaderMetadata { method reset (line 104) | fn reset(&mut self, stage: ShaderStage) { method default (line 115) | fn default() -> Self { type Parser (line 165) | pub struct Parser { method reset (line 183) | fn reset(&mut self, stage: ShaderStage) { method parse (line 201) | pub fn parse( method metadata (line 232) | pub const fn metadata(&self) -> &ShaderMetadata { FILE: lib/naga/src/front/glsl/offset.rs type TypeAlignSpan (line 25) | pub struct TypeAlignSpan { function calculate_offset (line 41) | pub fn calculate_offset( FILE: lib/naga/src/front/glsl/parser.rs type ParsingContext (line 22) | pub struct ParsingContext<'source> { function new (line 30) | pub fn new(lexer: Lexer<'source>) -> Self { function backtrack (line 45) | pub fn backtrack(&mut self, token: Token) -> Result<()> { function expect_ident (line 59) | pub fn expect_ident(&mut self, parser: &mut Parser) -> Result<(String, S... function expect (line 71) | pub fn expect(&mut self, parser: &mut Parser, value: TokenValue) -> Resu... function next (line 84) | pub fn next(&mut self, parser: &mut Parser) -> Option { function bump (line 109) | pub fn bump(&mut self, parser: &mut Parser) -> Result { function bump_if (line 117) | pub fn bump_if(&mut self, parser: &mut Parser, value: TokenValue) -> Opt... function peek (line 125) | pub fn peek(&mut self, parser: &mut Parser) -> Option<&Token> { function expect_peek (line 158) | pub fn expect_peek(&mut self, parser: &mut Parser) -> Result<&Token> { function parse (line 166) | pub fn parse(&mut self, parser: &mut Parser) -> Result<()> { function parse_uint_constant (line 194) | fn parse_uint_constant(&mut self, parser: &mut Parser) -> Result<(u32, S... function parse_constant_expression (line 223) | fn parse_constant_expression( method handle_directive (line 240) | fn handle_directive(&mut self, directive: Directive, meta: Span) { type DeclarationContext (line 400) | pub struct DeclarationContext<'ctx, 'qualifiers> { function add_var (line 410) | fn add_var( function flush_expressions (line 445) | fn flush_expressions(&mut self) { FILE: lib/naga/src/front/glsl/parser/declarations.rs function element_or_member_type (line 30) | fn element_or_member_type( function parse_external_declaration (line 72) | pub fn parse_external_declaration( function parse_initializer (line 101) | pub fn parse_initializer( function parse_init_declarator_list (line 172) | pub fn parse_init_declarator_list( function parse_declaration (line 288) | pub fn parse_declaration( function parse_block_declaration (line 525) | pub fn parse_block_declaration( function parse_struct_declaration_list (line 617) | pub fn parse_struct_declaration_list( FILE: lib/naga/src/front/glsl/parser/expressions.rs function parse_primary (line 15) | pub fn parse_primary( function parse_function_call_args (line 80) | pub fn parse_function_call_args( function parse_postfix (line 118) | pub fn parse_postfix( function parse_unary (line 284) | pub fn parse_unary( function parse_binary (line 338) | pub fn parse_binary( function parse_conditional (line 400) | pub fn parse_conditional( function parse_assignment (line 434) | pub fn parse_assignment( function parse_expression (line 510) | pub fn parse_expression( function binding_power (line 528) | const fn binding_power(value: &TokenValue) -> Option<(u8, u8)> { FILE: lib/naga/src/front/glsl/parser/functions.rs function peek_parameter_qualifier (line 16) | pub fn peek_parameter_qualifier(&mut self, parser: &mut Parser) -> bool { function parse_parameter_qualifier (line 24) | pub fn parse_parameter_qualifier(&mut self, parser: &mut Parser) -> Para... function parse_statement (line 38) | pub fn parse_statement( function parse_compound_statement (line 564) | pub fn parse_compound_statement( function parse_function_args (line 599) | pub fn parse_function_args( FILE: lib/naga/src/front/glsl/parser/types.rs function parse_array_specifier (line 15) | pub fn parse_array_specifier( function parse_array_specifier_single (line 26) | fn parse_array_specifier_single( function parse_type (line 78) | pub fn parse_type(&mut self, parser: &mut Parser) -> Result<(Option Result<(Ha... function peek_type_qualifier (line 141) | pub fn peek_type_qualifier(&mut self, parser: &mut Parser) -> bool { function parse_type_qualifiers (line 160) | pub fn parse_type_qualifiers<'a>(&mut self, parser: &mut Parser) -> Resu... function parse_layout_qualifier_id_list (line 288) | pub fn parse_layout_qualifier_id_list( function parse_layout_qualifier_id (line 309) | pub fn parse_layout_qualifier_id( function peek_type_name (line 366) | pub fn peek_type_name(&mut self, parser: &mut Parser) -> bool { function map_image_format (line 376) | fn map_image_format(word: &str) -> Option { FILE: lib/naga/src/front/glsl/parser_tests.rs function version (line 12) | fn version() { function control_flow (line 117) | fn control_flow() { function declarations (line 210) | fn declarations() { function textures (line 326) | fn textures() { function functions (line 348) | fn functions() { function constants (line 511) | fn constants() { function function_overloading (line 547) | fn function_overloading() { function implicit_conversions (line 573) | fn implicit_conversions() { function structs (line 636) | fn structs() { function swizzles (line 726) | fn swizzles() { function expressions (line 772) | fn expressions() { FILE: lib/naga/src/front/glsl/token.rs method from (line 7) | fn from(loc: Location) -> Self { type Token (line 14) | pub struct Token { type TokenValue (line 24) | pub enum TokenValue { type Directive (line 126) | pub struct Directive { type DirectiveKind (line 133) | pub enum DirectiveKind { FILE: lib/naga/src/front/glsl/types.rs function parse_type (line 7) | pub fn parse_type(type_name: &str) -> Option { function scalar_components (line 207) | pub const fn scalar_components(ty: &TypeInner) -> Option<(ScalarKind, By... function type_power (line 217) | pub const fn type_power(kind: ScalarKind, width: Bytes) -> Option { method typifier_grow (line 241) | pub(crate) fn typifier_grow( method resolve_type (line 271) | pub(crate) fn resolve_type<'b>( method resolve_type_handle (line 296) | pub(crate) fn resolve_type_handle( method invalidate_expression (line 320) | pub(crate) fn invalidate_expression<'b>( method solve_constant (line 343) | pub(crate) fn solve_constant( FILE: lib/naga/src/front/glsl/variables.rs type VarDeclaration (line 13) | pub struct VarDeclaration<'a, 'key> { type BuiltInData (line 22) | struct BuiltInData { type GlobalOrConstant (line 33) | pub enum GlobalOrConstant { method add_builtin (line 40) | fn add_builtin( method lookup_variable (line 99) | pub(crate) fn lookup_variable( method make_variable_invariant (line 228) | pub(crate) fn make_variable_invariant( method field_selection (line 246) | pub(crate) fn field_selection( method add_global_var (line 421) | pub(crate) fn add_global_var( method add_local_var (line 610) | pub(crate) fn add_local_var( FILE: lib/naga/src/front/interpolator.rs function apply_default_interpolation (line 41) | pub fn apply_default_interpolation(&mut self, ty: &crate::TypeInner) { FILE: lib/naga/src/front/mod.rs type Emitter (line 24) | struct Emitter { method start (line 30) | fn start(&mut self, arena: &Arena) { method finish (line 37) | fn finish( function boolean (line 59) | const fn boolean(value: bool) -> Self { type Typifier (line 69) | pub struct Typifier { method new (line 74) | pub const fn new() -> Self { method reset (line 80) | pub fn reset(&mut self) { method get (line 84) | pub fn get<'a>( method grow (line 92) | pub fn grow( method invalidate (line 113) | pub fn invalidate( type Output (line 132) | type Output = TypeResolution; method index (line 133) | fn index(&self, handle: Handle) -> &Self::Output { type Scope (line 143) | type Scope = FastHashMap; type SymbolTable (line 197) | pub struct SymbolTable { function push_scope (line 218) | pub fn push_scope(&mut self) { function pop_scope (line 235) | pub fn pop_scope(&mut self) { function lookup (line 257) | pub fn lookup(&self, name: &Q) -> Option<&Var> function add (line 277) | pub fn add(&mut self, name: Name, var: Var) -> Option { function add_root (line 290) | pub fn add_root(&mut self, name: Name, var: Var) -> Option { method default (line 297) | fn default() -> Self { function fmt (line 308) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: lib/naga/src/front/spv/convert.rs function map_binary_operator (line 5) | pub(super) const fn map_binary_operator(word: spirv::Op) -> Result Result Result Result Result { function map_builtin (line 125) | pub(super) fn map_builtin(word: spirv::Word, invariant: bool) -> Result<... function map_storage_class (line 155) | pub(super) fn map_storage_class(word: spirv::Word) -> Result R... function lower (line 526) | fn lower(mut self) -> crate::Block { FILE: lib/naga/src/front/spv/image.rs type LookupSampledImage (line 6) | pub(super) struct LookupSampledImage { function get_image_expr_ty (line 22) | fn get_image_expr_ty( type SamplingOptions (line 36) | pub struct SamplingOptions { type ExtraCoordinate (line 44) | enum ExtraCoordinate { function extract_image_coordinates (line 55) | fn extract_image_coordinates( function patch_comparison_type (line 181) | pub(super) fn patch_comparison_type( function parse_image_couple (line 222) | pub(super) fn parse_image_couple(&mut self) -> Result<(), Error> { function parse_image_uncouple (line 239) | pub(super) fn parse_image_uncouple(&mut self, block_id: spirv::Word) -> ... function parse_image_write (line 254) | pub(super) fn parse_image_write( function parse_image_load (line 313) | pub(super) fn parse_image_load( function parse_image_sample (line 412) | pub(super) fn parse_image_sample( function parse_image_query_size (line 629) | pub(super) fn parse_image_query_size( function parse_image_query_other (line 670) | pub(super) fn parse_image_query_other( FILE: lib/naga/src/front/spv/mod.rs constant SUPPORTED_CAPABILITIES (line 50) | pub const SUPPORTED_CAPABILITIES: &[spirv::Capability] = &[ constant SUPPORTED_EXTENSIONS (line 79) | pub const SUPPORTED_EXTENSIONS: &[&str] = &[ constant SUPPORTED_EXT_SETS (line 84) | pub const SUPPORTED_EXT_SETS: &[&str] = &["GLSL.std.450"]; type Instruction (line 87) | pub struct Instruction { method expect (line 93) | const fn expect(self, count: u16) -> Result<(), Error> { method expect_at_least (line 101) | fn expect_at_least(self, count: u16) -> Result { function can_comparison_sample (line 109) | const fn can_comparison_sample(&self) -> bool { type ModuleState (line 126) | pub enum ModuleState { type LookupHelper (line 142) | trait LookupHelper { method lookup (line 144) | fn lookup(&self, key: spirv::Word) -> Result<&Self::Target, Error>; type Target (line 148) | type Target = T; method lookup (line 149) | fn lookup(&self, key: spirv::Word) -> Result<&T, Error> { function required_coordinate_size (line 155) | const fn required_coordinate_size(&self) -> Option { type MemberIndex (line 165) | type MemberIndex = u32; method to_storage_access (line 176) | fn to_storage_access(self) -> crate::StorageAccess { type Majority (line 189) | enum Majority { type Decoration (line 195) | struct Decoration { method debug_name (line 214) | fn debug_name(&self) -> &str { method resource_binding (line 221) | const fn resource_binding(&self) -> Option { method io_binding (line 232) | fn io_binding(&self) -> Result { type LookupFunctionType (line 257) | struct LookupFunctionType { type LookupFunction (line 262) | struct LookupFunction { type EntryPoint (line 268) | struct EntryPoint { type LookupType (line 277) | struct LookupType { type LookupConstant (line 283) | struct LookupConstant { type Variable (line 289) | enum Variable { type LookupVariable (line 296) | struct LookupVariable { type LookupExpression (line 304) | struct LookupExpression { type LookupMember (line 324) | struct LookupMember { type LookupLoadOverride (line 331) | enum LookupLoadOverride { type ExtendedClass (line 339) | enum ExtendedClass { type Options (line 346) | pub struct Options { method default (line 357) | fn default() -> Self { type BodyIndex (line 367) | type BodyIndex = usize; type BodyFragment (line 378) | enum BodyFragment { type Body (line 405) | struct Body { method with_parent (line 413) | pub const fn with_parent(parent: usize) -> Self { type PhiExpression (line 422) | struct PhiExpression { type MergeBlockInformation (line 430) | enum MergeBlockInformation { type BlockContext (line 470) | struct BlockContext<'function> { type SignAnchor (line 509) | enum SignAnchor { type Parser (line 514) | pub struct Parser { function new (line 566) | pub fn new(data: I, options: &Options) -> Self { function span_from (line 600) | fn span_from(&self, from: usize) -> crate::Span { function span_from_with_op (line 604) | fn span_from_with_op(&self, from: usize) -> crate::Span { function next (line 608) | fn next(&mut self) -> Result { function next_inst (line 617) | fn next_inst(&mut self) -> Result { function next_string (line 628) | fn next_string(&mut self, mut count: u16) -> Result<(String, u16), Error> { function next_decoration (line 647) | fn next_decoration( function get_expr_handle (line 742) | fn get_expr_handle( function parse_expr_unary_op (line 806) | fn parse_expr_unary_op( function parse_expr_binary_op (line 835) | fn parse_expr_binary_op( function parse_expr_unary_op_sign_adjusted (line 869) | fn parse_expr_unary_op_sign_adjusted( function parse_expr_binary_op_sign_adjusted (line 924) | fn parse_expr_binary_op_sign_adjusted( function parse_expr_int_comparison (line 1002) | fn parse_expr_int_comparison( function parse_expr_shift_op (line 1073) | fn parse_expr_shift_op( function parse_expr_derivative (line 1116) | fn parse_expr_derivative( function insert_composite (line 1149) | fn insert_composite( function next_block (line 1243) | fn next_block(&mut self, block_id: spirv::Word, ctx: &mut BlockContext) ... function make_expression_storage (line 3471) | fn make_expression_storage( function switch (line 3524) | fn switch(&mut self, state: ModuleState, op: spirv::Op) -> Result<(), Er... function patch_statements (line 3535) | fn patch_statements( function patch_function (line 3616) | fn patch_function( function parse (line 3653) | pub fn parse(mut self) -> Result { function parse_capability (line 3795) | fn parse_capability(&mut self, inst: Instruction) -> Result<(), Error> { function parse_extension (line 3811) | fn parse_extension(&mut self, inst: Instruction) -> Result<(), Error> { function parse_ext_inst_import (line 3824) | fn parse_ext_inst_import(&mut self, inst: Instruction) -> Result<(), Err... function parse_memory_model (line 3839) | fn parse_memory_model(&mut self, inst: Instruction) -> Result<(), Error> { function parse_entry_point (line 3847) | fn parse_entry_point(&mut self, inst: Instruction) -> Result<(), Error> { function parse_execution_mode (line 3871) | fn parse_execution_mode(&mut self, inst: Instruction) -> Result<(), Erro... function parse_string (line 3926) | fn parse_string(&mut self, inst: Instruction) -> Result<(), Error> { function parse_source (line 3934) | fn parse_source(&mut self, inst: Instruction) -> Result<(), Error> { function parse_source_extension (line 3942) | fn parse_source_extension(&mut self, inst: Instruction) -> Result<(), Er... function parse_name (line 3949) | fn parse_name(&mut self, inst: Instruction) -> Result<(), Error> { function parse_member_name (line 3961) | fn parse_member_name(&mut self, inst: Instruction) -> Result<(), Error> { function parse_module_processed (line 3978) | fn parse_module_processed(&mut self, inst: Instruction) -> Result<(), Er... function parse_decorate (line 3989) | fn parse_decorate(&mut self, inst: Instruction) -> Result<(), Error> { function parse_member_decorate (line 3999) | fn parse_member_decorate(&mut self, inst: Instruction) -> Result<(), Err... function parse_type_void (line 4014) | fn parse_type_void(&mut self, inst: Instruction) -> Result<(), Error> { function parse_type_bool (line 4022) | fn parse_type_bool( function parse_type_int (line 4051) | fn parse_type_int( function parse_type_float (line 4086) | fn parse_type_float( function parse_type_vector (line 4116) | fn parse_type_vector( function parse_type_matrix (line 4153) | fn parse_type_matrix( function parse_type_function (line 4192) | fn parse_type_function(&mut self, inst: Instruction) -> Result<(), Error> { function parse_type_pointer (line 4208) | fn parse_type_pointer( function parse_type_array (line 4277) | fn parse_type_array( function parse_type_runtime_array (line 4319) | fn parse_type_runtime_array( function parse_type_struct (line 4359) | fn parse_type_struct( function parse_type_image (line 4470) | fn parse_type_image( function parse_type_sampled_image (line 4547) | fn parse_type_sampled_image(&mut self, inst: Instruction) -> Result<(), ... function parse_type_sampler (line 4562) | fn parse_type_sampler( function parse_constant (line 4589) | fn parse_constant( function parse_composite_constant (line 4678) | fn parse_composite_constant( function parse_null_constant (line 4715) | fn parse_null_constant( function parse_bool_constant (line 4744) | fn parse_bool_constant( function parse_global_variable (line 4773) | fn parse_global_variable( function parse_u8_slice (line 5001) | pub fn parse_u8_slice(data: &[u8], options: &Options) -> Result Option { method to_error_string (line 71) | fn to_error_string(&self, types: &UniqueArena, constants: &Arena... function parse_constructor_type (line 119) | fn parse_constructor_type<'a>( function parse_construction (line 220) | pub(super) fn parse_construction<'a>( FILE: lib/naga/src/front/wgsl/conv.rs function map_address_space (line 3) | pub fn map_address_space(word: &str, span: Span) -> Result Result Result Result Result Option<(crate::ScalarKind, crate::... function map_derivative_axis (line 116) | pub fn map_derivative_axis(word: &str) -> Option { function map_relational_fun (line 125) | pub fn map_relational_fun(word: &str) -> Option Option { function map_conservative_depth (line 214) | pub fn map_conservative_depth( FILE: lib/naga/src/front/wgsl/lexer.rs function consume_any (line 3) | fn consume_any(input: &str, what: impl Fn(char) -> bool) -> (&str, &str) { function consume_token (line 8) | fn consume_token(input: &str, generic: bool) -> (Token<'_>, &str) { function is_comment_end (line 131) | const fn is_comment_end(c: char) -> bool { function is_blankspace (line 139) | const fn is_blankspace(c: char) -> bool { function is_word_start (line 153) | fn is_word_start(c: char) -> bool { function is_word_part (line 158) | fn is_word_part(c: char) -> bool { type Lexer (line 163) | pub(super) struct Lexer<'a> { function new (line 171) | pub(super) const fn new(input: &'a str) -> Self { function _leftover_span (line 179) | pub(super) const fn _leftover_span(&self) -> Span { function capture_span (line 192) | pub fn capture_span( function start_byte_offset (line 202) | pub(super) fn start_byte_offset(&mut self) -> usize { function end_byte_offset (line 214) | pub(super) const fn end_byte_offset(&self) -> usize { function peek_token_and_rest (line 218) | fn peek_token_and_rest(&mut self) -> (TokenSpan<'a>, &'a str) { function current_byte_offset (line 225) | const fn current_byte_offset(&self) -> usize { function span_from (line 229) | pub(super) const fn span_from(&self, offset: usize) -> Span { function next (line 234) | pub(super) fn next(&mut self) -> TokenSpan<'a> { function next_generic (line 250) | pub(super) fn next_generic(&mut self) -> TokenSpan<'a> { function peek (line 263) | pub(super) fn peek(&mut self) -> TokenSpan<'a> { function expect_span (line 268) | pub(super) fn expect_span( function expect (line 280) | pub(super) fn expect(&mut self, expected: Token<'a>) -> Result<(), Error... function expect_generic_paren (line 285) | pub(super) fn expect_generic_paren(&mut self, expected: char) -> Result<... function skip (line 298) | pub(super) fn skip(&mut self, what: Token<'_>) -> bool { function next_ident_with_span (line 308) | pub(super) fn next_ident_with_span(&mut self) -> Result<(&'a str, Span),... function next_ident (line 321) | pub(super) fn next_ident(&mut self) -> Result<&'a str, Error<'a>> { function next_scalar_generic (line 326) | pub(super) fn next_scalar_generic( function next_scalar_generic_with_span (line 343) | pub(super) fn next_scalar_generic_with_span( function next_storage_access (line 357) | pub(super) fn next_storage_access(&mut self) -> Result Result<(), Error<'a>> { function close_arguments (line 383) | pub(super) fn close_arguments(&mut self) -> Result<(), Error<'a>> { function next_argument (line 388) | pub(super) fn next_argument(&mut self) -> Result> { function sub_test (line 402) | fn sub_test(source: &str, expected_tokens: &[Token]) { function test_numbers (line 411) | fn test_numbers() { function test_tokens (line 579) | fn test_tokens() { function test_variable_decl (line 631) | fn test_variable_decl() { FILE: lib/naga/src/front/wgsl/mod.rs type Span (line 36) | type Span = ops::Range; type TokenSpan (line 37) | type TokenSpan<'a> = (Token<'a>, Span); type Token (line 40) | pub enum Token<'a> { type NumberType (line 59) | pub enum NumberType { type ExpectedToken (line 66) | pub enum ExpectedToken<'a> { type NumberError (line 91) | pub enum NumberError { type InvalidAssignmentType (line 101) | pub enum InvalidAssignmentType { type Error (line 108) | pub enum Error<'a> { function as_parse_error (line 176) | fn as_parse_error(&self, source: &'a str) -> ParseError { function to_wgsl (line 579) | const fn to_wgsl(self) -> &'static str { function to_wgsl (line 624) | fn to_wgsl( function to_wgsl (line 736) | fn to_wgsl() { function to_wgsl (line 839) | fn to_wgsl(self, width: u8) -> String { type StringValueLookup (line 850) | trait StringValueLookup<'a> { method lookup (line 852) | fn lookup(&self, key: &'a str, span: Span) -> Result Result { function reborrow (line 875) | fn reborrow(&mut self) -> StatementContext<'a, '_, '_> { function as_expression (line 890) | fn as_expression<'t>( type SamplingContext (line 914) | struct SamplingContext { type ExpressionContext (line 919) | struct ExpressionContext<'input, 'temp, 'out> { function reborrow (line 934) | fn reborrow(&mut self) -> ExpressionContext<'a, '_, '_> { function resolve_type (line 950) | fn resolve_type( function prepare_sampling (line 968) | fn prepare_sampling( function parse_binary_op (line 982) | fn parse_binary_op( function parse_binary_splat_op (line 1010) | fn parse_binary_splat_op( function binary_op_splat (line 1040) | fn binary_op_splat( function interrupt_emitter (line 1078) | fn interrupt_emitter( function apply_load_rule (line 1093) | fn apply_load_rule(&mut self, expr: TypedExpression) -> Handle) -> TypedExpr... type Composition (line 1225) | enum Composition { method letter_component (line 1231) | const fn letter_component(letter: char) -> Option Result { method make (line 1253) | fn make(name: &str, name_span: Span) -> Result { type TypeAttributes (line 1275) | struct TypeAttributes { type Rule (line 1287) | enum Rule { type LocalFunctionCall (line 1301) | type LocalFunctionCall = (Handle, Vec( method finish (line 1347) | const fn finish<'a>(self, span: Span) -> Result... type ParsedVariable (line 1380) | struct ParsedVariable<'a> { type CalledFunction (line 1388) | struct CalledFunction { type ParseError (line 1393) | pub struct ParseError { method labels (line 1400) | pub fn labels(&self) -> impl Iterator + ExactSize... method message (line 1406) | pub fn message(&self) -> &str { method diagnostic (line 1410) | fn diagnostic(&self) -> Diagnostic<()> { method emit_to_stderr (line 1431) | pub fn emit_to_stderr(&self, source: &str) { method emit_to_stderr_with_path (line 1436) | pub fn emit_to_stderr_with_path(&self, source: &str, path: &str) { method emit_to_string (line 1445) | pub fn emit_to_string(&self, source: &str) -> String { method emit_to_string_with_path (line 1450) | pub fn emit_to_string_with_path(&self, source: &str, path: &str) -> St... method location (line 1459) | pub fn location(&self, source: &str) -> Option { method fmt (line 1467) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method source (line 1473) | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { type Parser (line 1478) | pub struct Parser { method new (line 1486) | pub fn new() -> Self { method reset (line 1495) | fn reset(&mut self) { method push_rule_span (line 1502) | fn push_rule_span(&mut self, rule: Rule, lexer: &mut Lexer<'_>) { method pop_rule_span (line 1506) | fn pop_rule_span(&mut self, lexer: &Lexer<'_>) -> Span { method peek_rule_span (line 1511) | fn peek_rule_span(&mut self, lexer: &Lexer<'_>) -> Span { method parse_switch_value (line 1516) | fn parse_switch_value<'a>(lexer: &mut Lexer<'a>, uint: bool) -> Result... method parse_non_negative_i32_literal (line 1528) | fn parse_non_negative_i32_literal<'a>(lexer: &mut Lexer<'a>) -> Result... method parse_generic_non_negative_int_literal (line 1544) | fn parse_generic_non_negative_int_literal<'a>(lexer: &mut Lexer<'a>) -... method parse_atomic_pointer (line 1558) | fn parse_atomic_pointer<'a>( method parse_local_function_call (line 1584) | fn parse_local_function_call<'a>( method parse_atomic_helper (line 1613) | fn parse_atomic_helper<'a>( method parse_function_call_inner (line 1652) | fn parse_function_call_inner<'a>( method parse_const_expression_impl (line 2291) | fn parse_const_expression_impl<'a>( method parse_const_expression (line 2384) | fn parse_const_expression<'a>( method parse_primary_expression (line 2393) | fn parse_primary_expression<'a>( method parse_postfix (line 2448) | fn parse_postfix<'a>( method parse_unary_expression (line 2613) | fn parse_unary_expression<'a>( method parse_singular_expression (line 2697) | fn parse_singular_expression<'a>( method parse_equality_expression (line 2711) | fn parse_equality_expression<'a>( method parse_general_expression_with_span (line 2789) | fn parse_general_expression_with_span<'a>( method parse_general_expression (line 2798) | fn parse_general_expression<'a>( method parse_general_expression_for_reference (line 2807) | fn parse_general_expression_for_reference<'a>( method parse_variable_ident_decl (line 2871) | fn parse_variable_ident_decl<'a>( method parse_variable_decl (line 2883) | fn parse_variable_decl<'a>( method parse_struct_body (line 2929) | fn parse_struct_body<'a>( method parse_matrix_scalar_type (line 3035) | fn parse_matrix_scalar_type<'a>( method parse_type_decl_impl (line 3052) | fn parse_type_decl_impl<'a>( method check_texture_sample_type (line 3332) | const fn check_texture_sample_type( method parse_type_decl_name (line 3347) | fn parse_type_decl_name<'a>( method parse_type_decl (line 3377) | fn parse_type_decl<'a>( method parse_assignment_statement (line 3410) | fn parse_assignment_statement<'a, 'out>( method parse_function_statement (line 3556) | fn parse_function_statement<'a, 'out>( method parse_switch_case_body (line 3579) | fn parse_switch_case_body<'a, 'out>( method parse_statement (line 3607) | fn parse_statement<'a, 'out>( method parse_loop (line 4224) | fn parse_loop<'a>( method parse_block (line 4309) | fn parse_block<'a>( method parse_varying_binding (line 4336) | fn parse_varying_binding<'a>( method parse_function_decl (line 4352) | fn parse_function_decl<'a>( method parse_global_decl (line 4485) | fn parse_global_decl<'a>( method parse (line 4726) | pub fn parse(&mut self, source: &str) -> Result Result { FILE: lib/naga/src/front/wgsl/number.rs type Number (line 7) | pub enum Number { method abstract_to_concrete (line 25) | fn abstract_to_concrete(self) -> Result { function consume_number (line 48) | pub(super) fn consume_number(input: &str) -> (Token<'_>, &str) { type Kind (line 56) | enum Kind { type IntKind (line 61) | enum IntKind { type FloatKind (line 66) | enum FloatKind { function parse (line 93) | fn parse(input: &str) -> (Result, &str) { function parse_hex_float_missing_exponent (line 307) | fn parse_hex_float_missing_exponent( function parse_hex_float_missing_period (line 316) | fn parse_hex_float_missing_period( function parse_hex_int (line 327) | fn parse_hex_int( function parse_dec (line 341) | fn parse_dec( function parse_hex_float (line 380) | fn parse_hex_float(input: &str, kind: Option) -> Result) -> Result = rustc_hash::FxHashMap; type FastHashSet (line 232) | pub type FastHashSet = rustc_hash::FxHashSet; type NamedExpressions (line 235) | pub(crate) type NamedExpressions = FastHashMap, String>; type EarlyDepthTest (line 258) | pub struct EarlyDepthTest { type ConservativeDepth (line 277) | pub enum ConservativeDepth { type ShaderStage (line 294) | pub enum ShaderStage { type AddressSpace (line 305) | pub enum AddressSpace { type BuiltIn (line 327) | pub enum BuiltIn { type Bytes (line 354) | pub type Bytes = u8; type VectorSize (line 362) | pub enum VectorSize { type ScalarKind (line 377) | pub enum ScalarKind { type ArraySize (line 394) | pub enum ArraySize { type Interpolation (line 406) | pub enum Interpolation { type Sampling (line 423) | pub enum Sampling { type StructMember (line 443) | pub struct StructMember { type ImageDimension (line 458) | pub enum ImageDimension { type StorageFormat (line 488) | pub enum StorageFormat { type ImageClass (line 539) | pub enum ImageClass { type Type (line 568) | pub struct Type { type TypeInner (line 581) | pub enum TypeInner { type Constant (line 758) | pub struct Constant { type ScalarValue (line 769) | pub enum ScalarValue { type ConstantInner (line 781) | pub enum ConstantInner { type Binding (line 797) | pub enum Binding { type ResourceBinding (line 829) | pub struct ResourceBinding { type GlobalVariable (line 841) | pub struct GlobalVariable { type LocalVariable (line 859) | pub struct LocalVariable { type UnaryOperator (line 873) | pub enum UnaryOperator { type BinaryOperator (line 922) | pub enum BinaryOperator { type AtomicFunction (line 953) | pub enum AtomicFunction { type DerivativeAxis (line 969) | pub enum DerivativeAxis { type RelationalFunction (line 980) | pub enum RelationalFunction { type MathFunction (line 994) | pub enum MathFunction { type SampleLevel (line 1079) | pub enum SampleLevel { type ImageQuery (line 1095) | pub enum ImageQuery { type SwizzleComponent (line 1115) | pub enum SwizzleComponent { type Expression (line 1148) | pub enum Expression { type SwitchValue (line 1423) | pub enum SwitchValue { type SwitchCase (line 1434) | pub struct SwitchCase { type Statement (line 1451) | pub enum Statement { type FunctionArgument (line 1608) | pub struct FunctionArgument { type FunctionResult (line 1623) | pub struct FunctionResult { type Function (line 1637) | pub struct Function { type EntryPoint (line 1702) | pub struct EntryPoint { type Module (line 1733) | pub struct Module { FILE: lib/naga/src/proc/index.rs type BoundsCheckPolicy (line 40) | pub enum BoundsCheckPolicy { type BoundsCheckPolicies (line 67) | pub struct BoundsCheckPolicies { method choose_policy (line 142) | pub fn choose_policy( method contains (line 165) | pub fn contains(&self, policy: BoundsCheckPolicy) -> bool { method default (line 128) | fn default() -> Self { type GuardedIndex (line 178) | pub enum GuardedIndex { method try_resolve_to_constant (line 340) | fn try_resolve_to_constant(&mut self, function: &crate::Function, modu... function find_checked_indexes (line 226) | pub fn find_checked_indexes( function access_needs_check (line 306) | pub fn access_needs_check( type IndexableLengthError (line 352) | pub enum IndexableLengthError { function indexable_length (line 371) | pub fn indexable_length( type IndexableLength (line 408) | pub enum IndexableLength { function to_indexable_length (line 417) | pub fn to_indexable_length( FILE: lib/naga/src/proc/layouter.rs type Alignment (line 8) | pub struct Alignment(NonZeroU32); constant ONE (line 11) | pub const ONE: Self = Self(unsafe { NonZeroU32::new_unchecked(1) }); constant TWO (line 12) | pub const TWO: Self = Self(unsafe { NonZeroU32::new_unchecked(2) }); constant FOUR (line 13) | pub const FOUR: Self = Self(unsafe { NonZeroU32::new_unchecked(4) }); constant EIGHT (line 14) | pub const EIGHT: Self = Self(unsafe { NonZeroU32::new_unchecked(8) }); constant SIXTEEN (line 15) | pub const SIXTEEN: Self = Self(unsafe { NonZeroU32::new_unchecked(16) }); constant MIN_UNIFORM (line 17) | pub const MIN_UNIFORM: Self = Self::SIXTEEN; method new (line 19) | pub const fn new(n: u32) -> Option { method from_width (line 30) | pub fn from_width(width: u8) -> Self { method is_aligned (line 35) | pub const fn is_aligned(&self, n: u32) -> bool { method round_up (line 41) | pub const fn round_up(&self, n: u32) -> u32 { type Output (line 59) | type Output = u32; method mul (line 61) | fn mul(self, rhs: u32) -> Self::Output { type Output (line 67) | type Output = Alignment; method mul (line 69) | fn mul(self, rhs: Alignment) -> Self::Output { method from (line 76) | fn from(size: crate::VectorSize) -> Self { method fmt (line 53) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type TypeLayout (line 89) | pub struct TypeLayout { method to_stride (line 96) | pub const fn to_stride(&self) -> u32 { type Layouter (line 113) | pub struct Layouter { type Output (line 119) | type Output = TypeLayout; method index (line 120) | fn index(&self, handle: Handle) -> &TypeLayout { method clear (line 152) | pub fn clear(&mut self) { method update (line 170) | pub fn update( type LayoutErrorInner (line 126) | pub enum LayoutErrorInner { method with (line 145) | const fn with(self, ty: Handle) -> LayoutError { type LayoutError (line 139) | pub struct LayoutError { FILE: lib/naga/src/proc/mod.rs function from (line 20) | fn from(format: super::StorageFormat) -> Self { function scalar_kind (line 60) | pub const fn scalar_kind(&self) -> super::ScalarKind { function is_numeric (line 71) | pub const fn is_numeric(self) -> bool { constant POINTER_SPAN (line 79) | pub const POINTER_SPAN: u32 = 4; function scalar_kind (line 82) | pub const fn scalar_kind(&self) -> Option { function pointer_space (line 92) | pub const fn pointer_space(&self) -> Option { function try_size (line 100) | pub fn try_size( function size (line 140) | pub fn size(&self, constants: &super::Arena) -> u32 { function canonical_form (line 152) | pub fn canonical_form( function equivalent (line 185) | pub fn equivalent( function is_dynamically_sized (line 195) | pub fn is_dynamically_sized(&self, types: &crate::UniqueArena crate::StorageAccess { function argument_count (line 224) | pub const fn argument_count(&self) -> usize { function needs_pre_emit (line 309) | pub const fn needs_pre_emit(&self) -> bool { function is_dynamic_index (line 332) | pub fn is_dynamic_index(&self, module: &crate::Module) -> bool { function originating_global (line 351) | pub fn originating_global( function implicit_derivatives (line 370) | pub const fn implicit_derivatives(&self) -> bool { function to_array_length (line 391) | pub(crate) fn to_array_length(&self) -> Option { function to_built_in (line 410) | pub const fn to_built_in(&self) -> Option { method eq (line 420) | fn eq(&self, other: &Self) -> bool { function hash (line 432) | fn hash(&self, hasher: &mut H) { constant XYZW (line 443) | pub const XYZW: [Self; 4] = [Self::X, Self::Y, Self::Z, Self::W]; function index (line 445) | pub const fn index(&self) -> u32 { function from_index (line 453) | pub const fn from_index(idx: u32) -> Self { function is_multisampled (line 464) | pub const fn is_multisampled(self) -> bool { function is_mipmapped (line 471) | pub const fn is_mipmapped(self) -> bool { function test_matrix_size (line 480) | fn test_matrix_size() { FILE: lib/naga/src/proc/namer.rs type EntryPointIndex (line 4) | pub type EntryPointIndex = u16; constant SEPARATOR (line 5) | const SEPARATOR: char = '_'; type NameKey (line 8) | pub enum NameKey { type Namer (line 24) | pub struct Namer { method sanitize (line 41) | fn sanitize<'s>(&self, string: &'s str) -> Cow<'s, str> { method call (line 84) | pub fn call(&mut self, label_raw: &str) -> String { method call_or (line 117) | pub fn call_or(&mut self, label: &Option, fallback: &str) -> S... method namespace (line 129) | fn namespace(&mut self, capacity: usize, body: impl FnOnce(&mut Self)) { method reset (line 136) | pub fn reset( function test (line 256) | fn test() { FILE: lib/naga/src/proc/terminator.rs function ensure_block_returns (line 7) | pub fn ensure_block_returns(block: &mut crate::Block) { FILE: lib/naga/src/proc/typifier.rs type TypeResolution (line 87) | pub enum TypeResolution { method handle (line 100) | pub const fn handle(&self) -> Option> { method inner_with (line 107) | pub fn inner_with<'a>(&'a self, arena: &'a UniqueArena) -... method clone (line 117) | fn clone(&self) -> Self { function resolve_type (line 152) | pub const fn resolve_type(&self) -> TypeResolution { type ResolveError (line 164) | pub enum ResolveError { type ResolveContext (line 202) | pub struct ResolveContext<'a> { function resolve (line 227) | pub fn resolve( function test_error_size (line 892) | fn test_error_size() { FILE: lib/naga/src/span.rs type Span (line 7) | pub struct Span { constant UNDEFINED (line 13) | pub const UNDEFINED: Self = Self { start: 0, end: 0 }; method new (line 17) | pub const fn new(start: u32, end: u32) -> Self { method subsume (line 23) | pub fn subsume(&mut self, other: Self) { method total_span (line 41) | pub fn total_span>(from: T) -> Self { method to_range (line 50) | pub fn to_range(self) -> Option> { method is_defined (line 59) | pub fn is_defined(&self) -> bool { method location (line 64) | pub fn location(&self, source: &str) -> SourceLocation { method from (line 80) | fn from(range: Range) -> Self { type SourceLocation (line 96) | pub struct SourceLocation { type SpanContext (line 108) | pub type SpanContext = (Span, String); type WithSpan (line 112) | pub struct WithSpan { function fmt (line 122) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> std::fmt::Result { method eq (line 132) | fn eq(&self, other: &Self) -> bool { method source (line 141) | fn source(&self) -> Option<&(dyn Error + 'static)> { function new (line 148) | pub const fn new(inner: E) -> Self { function into_inner (line 158) | pub fn into_inner(self) -> E { function as_inner (line 162) | pub const fn as_inner(&self) -> &E { function spans (line 167) | pub fn spans(&self) -> impl Iterator + ExactSizeIte... function with_span (line 176) | pub fn with_span(mut self, span: Span, description: S) -> Self function with_context (line 188) | pub fn with_context(self, span_context: SpanContext) -> Self { function with_handle (line 195) | pub(crate) fn with_handle>(self, handle: Handle... function into_other (line 200) | pub fn into_other(self) -> WithSpan function and_then (line 213) | pub fn and_then(self, func: F) -> WithSpan function location (line 226) | pub fn location(&self, source: &str) -> Option { function location (line 236) | pub fn location(&self, _source: &str) -> Option { function diagnostic (line 241) | fn diagnostic(&self) -> codespan_reporting::diagnostic::Diagnostic<()> function emit_to_stderr (line 269) | pub fn emit_to_stderr(&self, source: &str) function emit_to_stderr_with_path (line 278) | pub fn emit_to_stderr_with_path(&self, source: &str, path: &str) function emit_to_string (line 294) | pub fn emit_to_string(&self, source: &str) -> String function emit_to_string_with_path (line 303) | pub fn emit_to_string_with_path(&self, source: &str, path: &str) -> String type AddSpan (line 319) | pub(crate) trait AddSpan: Sized { method with_span (line 322) | fn with_span(self) -> Self::Output; method with_span_static (line 324) | fn with_span_static(self, span: Span, description: &'static str) -> Se... method with_span_context (line 326) | fn with_span_context(self, span_context: SpanContext) -> Self::Output; method with_span_handle (line 328) | fn with_span_handle>(self, handle: Handle, ar... type Output (line 361) | type Output = WithSpan; method with_span (line 362) | fn with_span(self) -> WithSpan { method with_span_static (line 366) | fn with_span_static(self, span: Span, description: &'static str) -> Wi... method with_span_context (line 370) | fn with_span_context(self, span_context: SpanContext) -> WithSpan { method with_span_handle (line 374) | fn with_span_handle>( type SpanProvider (line 332) | pub(crate) trait SpanProvider { method get_span (line 333) | fn get_span(&self, handle: Handle) -> Span; method get_span_context (line 334) | fn get_span_context(&self, handle: Handle) -> SpanContext { function get_span (line 346) | fn get_span(&self, handle: Handle) -> Span { function get_span (line 352) | fn get_span(&self, handle: Handle) -> Span { type MapErrWithSpan (line 385) | pub trait MapErrWithSpan: Sized { method map_err_inner (line 387) | fn map_err_inner(self, func: F) -> Self::Output type Output (line 394) | type Output = Result>; function map_err_inner (line 395) | fn map_err_inner(self, func: F) -> Result> function span_location (line 405) | fn span_location() { FILE: lib/naga/src/valid/analyzer.rs type NonUniformResult (line 17) | pub type NonUniformResult = Option>; type Uniformity (line 35) | pub struct Uniformity { method new (line 53) | const fn new() -> Self { type FunctionUniformity (line 75) | struct FunctionUniformity { type Output (line 81) | type Output = Self; method bitor (line 82) | fn bitor(self, other: Self) -> Self { method new (line 97) | const fn new() -> Self { method exit_disruptor (line 105) | const fn exit_disruptor(&self) -> Option { type SamplingKey (line 133) | pub struct SamplingKey { type ExpressionInfo (line 141) | pub struct ExpressionInfo { method new (line 149) | const fn new() -> Self { type GlobalOrArgument (line 166) | enum GlobalOrArgument { method from_expression (line 172) | fn from_expression( type Sampling (line 192) | struct Sampling { type FunctionInfo (line 200) | pub struct FunctionInfo { method global_variable_count (line 259) | pub const fn global_variable_count(&self) -> usize { method expression_count (line 262) | pub const fn expression_count(&self) -> usize { method dominates_global_use (line 265) | pub fn dominates_global_use(&self, other: &Self) -> bool { type Output (line 278) | type Output = GlobalUse; method index (line 279) | fn index(&self, handle: Handle) -> &GlobalUse { type Output (line 285) | type Output = ExpressionInfo; method index (line 286) | fn index(&self, handle: Handle) -> &ExpressionInfo { method add_ref_impl (line 306) | fn add_ref_impl( method add_ref (line 325) | fn add_ref(&mut self, handle: Handle) -> NonUniform... method add_assignable_ref (line 333) | fn add_assignable_ref( method process_call (line 352) | fn process_call( method process_expression (line 421) | fn process_expression( method process_block (line 734) | fn process_block( type UniformityDisruptor (line 294) | pub enum UniformityDisruptor { method process_function (line 932) | pub(super) fn process_function( method get_entry_point (line 979) | pub fn get_entry_point(&self, index: usize) -> &FunctionInfo { function uniform_control_flow (line 986) | fn uniform_control_flow() { FILE: lib/naga/src/valid/compose.rs type ComposeError (line 11) | pub enum ComposeError { function validate_compose (line 23) | pub fn validate_compose( FILE: lib/naga/src/valid/expression.rs type ExpressionError (line 13) | pub enum ExpressionError { type ExpressionTypeResolver (line 125) | struct ExpressionTypeResolver<'a> { function resolve (line 133) | fn resolve( function validate_expression (line 147) | pub(super) fn validate_expression( FILE: lib/naga/src/valid/function.rs type CallError (line 18) | pub enum CallError { type AtomicError (line 47) | pub enum AtomicError { type LocalVariableError (line 60) | pub enum LocalVariableError { type FunctionError (line 69) | pub enum FunctionError { type BlockInfo (line 165) | struct BlockInfo { type BlockContext (line 171) | struct BlockContext<'a> { function new (line 184) | fn new( function with_abilities (line 202) | const fn with_abilities(&self, abilities: ControlFlowAbility) -> Self { function get_expression (line 206) | fn get_expression( function resolve_type_impl (line 213) | fn resolve_type_impl( function resolve_type (line 227) | fn resolve_type( function resolve_pointer_type (line 236) | fn resolve_pointer_type( function validate_call (line 253) | fn validate_call( function validate_atomic (line 313) | fn validate_atomic( function validate_block_impl (line 385) | fn validate_block_impl( function validate_block (line 814) | fn validate_block( function validate_local_var (line 828) | fn validate_local_var( function validate_function (line 867) | pub(super) fn validate_function( FILE: lib/naga/src/valid/interface.rs constant MAX_WORKGROUP_SIZE (line 11) | const MAX_WORKGROUP_SIZE: u32 = 0x4000; type GlobalVariableError (line 14) | pub enum GlobalVariableError { type VaryingError (line 39) | pub enum VaryingError { type EntryPointError (line 65) | pub enum EntryPointError { function storage_usage (line 91) | fn storage_usage(access: crate::StorageAccess) -> GlobalUse { type VaryingContext (line 102) | struct VaryingContext<'a> { function validate_impl (line 113) | fn validate_impl( function validate (line 321) | fn validate( function validate_global_var (line 359) | pub(super) fn validate_global_var( function validate_entry_point (line 450) | pub(super) fn validate_entry_point( FILE: lib/naga/src/valid/mod.rs method default (line 73) | fn default() -> Self { type ModuleInfo (line 118) | pub struct ModuleInfo { type Output (line 124) | type Output = FunctionInfo; method index (line 125) | fn index(&self, handle: Handle) -> &Self::Output { type Validator (line 131) | pub struct Validator { method new (line 248) | pub fn new(flags: ValidationFlags, capabilities: Capabilities) -> Self { method reset (line 263) | pub fn reset(&mut self) { method validate_constant (line 274) | fn validate_constant( method validate (line 314) | pub fn validate( type ConstantError (line 145) | pub enum ConstantError { type ValidationError (line 159) | pub enum ValidationError { function is_sized (line 203) | const fn is_sized(&self) -> bool { function image_storage_coordinates (line 225) | const fn image_storage_coordinates(&self) -> Option, Disal... function check_member_layout (line 138) | fn check_member_layout( function ptr_space_argument_flag (line 172) | const fn ptr_space_argument_flag(space: crate::AddressSpace) -> TypeFlags { type TypeInfo (line 181) | pub(super) struct TypeInfo { method dummy (line 188) | const fn dummy() -> Self { method new (line 196) | const fn new(flags: TypeFlags, alignment: Alignment) -> Self { function check_width (line 206) | pub(super) const fn check_width(&self, kind: crate::ScalarKind, width: c... function reset_types (line 216) | pub(super) fn reset_types(&mut self, size: usize) { function validate_type (line 222) | pub(super) fn validate_type( FILE: lib/naga/tests/snapshots.rs constant BASE_DIR_IN (line 7) | const BASE_DIR_IN: &str = "tests/in"; constant BASE_DIR_OUT (line 8) | const BASE_DIR_OUT: &str = "tests/out"; type SpvOutVersion (line 24) | struct SpvOutVersion(u8, u8); method default (line 26) | fn default() -> Self { type SpirvOutParameters (line 32) | struct SpirvOutParameters { type WgslOutParameters (line 52) | struct WgslOutParameters { type Parameters (line 58) | struct Parameters { function check_targets (line 88) | fn check_targets(module: &naga::Module, name: &str, targets: Targets) { function write_output_spv (line 195) | fn write_output_spv( function write_output_msl (line 253) | fn write_output_msl( function write_output_glsl (line 281) | fn write_output_glsl( function write_output_hlsl (line 322) | fn write_output_hlsl( function write_output_wgsl (line 401) | fn write_output_wgsl( function convert_wgsl (line 422) | fn convert_wgsl() { function convert_spv (line 562) | fn convert_spv(name: &str, adjust_coordinate_space: bool, targets: Targe... function convert_spv_all (line 587) | fn convert_spv_all() { function convert_glsl_variations_check (line 614) | fn convert_glsl_variations_check() { function convert_glsl_folder (line 634) | fn convert_glsl_folder() { FILE: lib/naga/tests/spirv-capabilities.rs function capabilities_used (line 9) | fn capabilities_used(source: &str) -> naga::FastHashSet { function require (line 30) | fn require(capabilities: &[Ca], source: &str) { function require_and_forbid (line 34) | fn require_and_forbid(required: &[Ca], forbidden: &[Ca], source: &str) { function sampler1d (line 63) | fn sampler1d() { function storage1d (line 74) | fn storage1d() { function cube_array (line 85) | fn cube_array() { function image_queries (line 99) | fn image_queries() { function sample_rate_shading (line 135) | fn sample_rate_shading() { function geometry (line 154) | fn geometry() { function storage_image_formats (line 165) | fn storage_image_formats() { FILE: lib/naga/tests/wgsl-errors.rs function check (line 6) | fn check(input: &str, snapshot: &str) { function reserved_identifier_prefix (line 23) | fn reserved_identifier_prefix() { function function_without_identifier (line 37) | fn function_without_identifier() { function invalid_integer (line 51) | fn invalid_integer() { function invalid_float (line 65) | fn invalid_float() { function invalid_texture_sample_type (line 79) | fn invalid_texture_sample_type() { function unknown_identifier (line 93) | fn unknown_identifier() { function negative_index (line 111) | fn negative_index() { function bad_texture (line 130) | fn bad_texture() { function bad_type_cast (line 152) | fn bad_type_cast() { function type_not_constructible (line 170) | fn type_not_constructible() { function type_not_inferrable (line 188) | fn type_not_inferrable() { function unexpected_constructor_parameters (line 206) | fn unexpected_constructor_parameters() { function constructor_parameter_type_mismatch (line 224) | fn constructor_parameter_type_mismatch() { function bad_texture_sample_type (line 242) | fn bad_texture_sample_type() { function bad_for_initializer (line 264) | fn bad_for_initializer() { function unknown_storage_class (line 282) | fn unknown_storage_class() { function unknown_attribute (line 298) | fn unknown_attribute() { function unknown_built_in (line 315) | fn unknown_built_in() { function unknown_access (line 331) | fn unknown_access() { function unknown_ident (line 347) | fn unknown_ident() { function unknown_scalar_type (line 365) | fn unknown_scalar_type() { function unknown_type (line 383) | fn unknown_type() { function unknown_storage_format (line 399) | fn unknown_storage_format() { function unknown_conservative_depth (line 415) | fn unknown_conservative_depth() { function struct_member_size_too_low (line 431) | fn struct_member_size_too_low() { function struct_member_align_too_low (line 449) | fn struct_member_align_too_low() { function struct_member_non_po2_align (line 467) | fn struct_member_non_po2_align() { function inconsistent_binding (line 485) | fn inconsistent_binding() { function unknown_local_function (line 501) | fn unknown_local_function() { function let_type_mismatch (line 519) | fn let_type_mismatch() { function var_type_mismatch (line 550) | fn var_type_mismatch() { function local_var_missing_type (line 581) | fn local_var_missing_type() { function postfix_pointers (line 599) | fn postfix_pointers() { function reserved_keyword (line 637) | fn reserved_keyword() { function module_scope_identifier_redefinition (line 745) | fn module_scope_identifier_redefinition() { function matrix_with_bad_type (line 832) | fn matrix_with_bad_type() { function validation_error (line 909) | fn validation_error(source: &str) -> Result) -> Self { method update (line 118) | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { FILE: src/bootstrap.rs type Config (line 5) | pub struct Config { type ConfigBuilder (line 11) | pub struct ConfigBuilder { method native_options (line 41) | pub fn native_options(mut self, native_options: eframe::NativeOptions)... method app_creator (line 46) | pub fn app_creator(mut self, app_creator: AppCreator) -> Self { method app_name (line 51) | pub fn app_name(mut self, app_name: String) -> Self { method build (line 56) | pub fn build(self) -> Config { method default (line 18) | fn default() -> Self { function load_icon (line 65) | fn load_icon(path: &str) -> eframe::IconData { function start_frame (line 81) | pub fn start_frame(config: Config) { FILE: src/components/detail_view.rs type DetailView (line 12) | pub struct DetailView; method show (line 15) | fn show(&mut self, models: &mut Models, ui: &mut Ui, _frame: &mut eframe... function show_message (line 48) | pub fn show_message(models: &mut Models, ui: &mut Ui, _frame: &mut efram... FILE: src/components/dock_view.rs type DockView (line 13) | pub struct DockView; method show (line 16) | fn show(&mut self, models: &mut Models, ui: &mut Ui, _frame: &mut eframe... function dock_button (line 48) | fn dock_button(ui: &mut egui::Ui, models: &mut Models, current: DockStag... function toggle_button (line 59) | fn toggle_button(ui: &mut egui::Ui, selected: &mut bool, text: impl Into... FILE: src/components/drawer_view.rs type DrawerView (line 12) | pub struct DrawerView { method show (line 17) | fn show(&mut self, models: &mut Models, ui: &mut Ui, frame: &mut eframe:... function close_button (line 83) | fn close_button(ui: &mut Ui, id: egui::Id, rect: egui::Rect) -> Response { FILE: src/components/drawers/kernel_view.rs type KernelView (line 12) | pub struct KernelView { function get_kernel_status_desc (line 16) | fn get_kernel_status_desc(code: i32) -> &'static str { method show (line 25) | fn show(&mut self, _models: &mut Models, ui: &mut Ui, _frame: &mut efram... function inspector_grid (line 86) | fn inspector_grid(id: &str) -> egui::Grid { function kernel_label (line 94) | fn kernel_label(ui: &mut egui::Ui, selected_kernel: &mut usize, kernel_i... function grid_label (line 127) | fn grid_label(ui: &mut egui::Ui, title: &str) { function grid_content (line 135) | fn grid_content(ui: &mut egui::Ui, title: &str) { FILE: src/components/drawers/message_view.rs type MessageView (line 11) | pub struct MessageView; method show (line 14) | fn show(&mut self, _models: &mut Models, ui: &mut Ui, _frame: &mut efram... function message_icon (line 83) | fn message_icon(ui: &mut egui::Ui, icon_type: &MessageLevel) { FILE: src/components/export_modal_view.rs type ExportModal (line 18) | pub struct ExportModal { method show (line 37) | pub fn show(&mut self, ctx: &Context, models: &mut Models) { method on_click_done (line 133) | fn on_click_done(&mut self, models: &mut Models) -> std::io::Result<()> { constant DEFAULT_FILE_NAME (line 24) | const DEFAULT_FILE_NAME: &'static str = "graph"; method default (line 27) | fn default() -> Self { FILE: src/components/graphics_view.rs type GraphicsView (line 13) | pub struct GraphicsView; method show (line 16) | fn show(&mut self, models: &mut Models, ui: &mut Ui, _frame: &mut eframe... function toggle_button (line 296) | fn toggle_button(ui: &mut egui::Ui, selected: &mut bool, text: impl Into... function need_update (line 303) | fn need_update(ui: &mut egui::Ui, graphics_resources: &mut GraphicsResou... function tool_item_box (line 308) | fn tool_item_box( FILE: src/components/import_modal_view.rs type Page (line 19) | enum Page { type ImportModal (line 26) | pub struct ImportModal { method show (line 37) | pub fn show(&mut self, ctx: &Context, models: &mut Models) { method on_click_next (line 93) | fn on_click_next(&mut self, models: &mut Models) { method on_click_done (line 110) | fn on_click_done(&mut self) { method check_import_done (line 123) | fn check_import_done(&mut self, models: &mut Models) -> bool { method load_edge_headers (line 153) | fn load_edge_headers(&mut self, models: &mut Models) -> Result<(), Str... method reset_import_promise (line 166) | fn reset_import_promise(&mut self) { FILE: src/components/import_modal_view/config_page.rs function show (line 7) | pub fn show(parent: &mut ImportModal, models: &mut Models, ui: &mut Ui) { FILE: src/components/import_modal_view/file_picker_page.rs function show (line 9) | pub fn show(parent: &mut ImportModal, _: &mut Models, ui: &mut Ui) { FILE: src/components/inspector_view.rs type InspectorView (line 16) | pub struct InspectorView; method graph_inspector (line 150) | fn graph_inspector(&mut self, models: &mut Models, ui: &mut Ui) { method node_inspector (line 190) | fn node_inspector(&mut self, models: &mut Models, ui: &mut Ui) { method edge_inspector (line 289) | fn edge_inspector(&mut self, _models: &mut Models, ui: &mut Ui) { method camera_inspector (line 303) | fn camera_inspector(&mut self, _models: &mut Models, ui: &mut Ui) { method options_inspector (line 338) | fn options_inspector(&mut self, models: &mut Models, ui: &mut Ui) { method show (line 19) | fn show(&mut self, models: &mut Models, ui: &mut Ui, _frame: &mut eframe... function source_combox (line 368) | fn source_combox(id_source: impl Hash, data_hearders: &Vec, curr... function inspector_grid (line 381) | fn inspector_grid(id: &str) -> egui::Grid { function grid_label (line 389) | fn grid_label(ui: &mut egui::Ui, title: &str) { function inspector_section (line 402) | fn inspector_section(ui: &mut Ui, default_open: bool, title: &str, ad... FILE: src/components/menubar_view.rs type MenuBarView (line 14) | pub struct MenuBarView; method default (line 17) | fn default() -> Self { method show (line 23) | fn show(&mut self, models: &mut Models, ui: &mut Ui, frame: &mut eframe:... function spacing_ui (line 166) | fn spacing_ui(ui: &mut Ui) { function spacing_ui_start (line 171) | fn spacing_ui_start(ui: &mut Ui) { function spacing_ui_end (line 178) | fn spacing_ui_end(_ui: &mut Ui) { FILE: src/components/mod.rs type AppView (line 17) | pub trait AppView { method show (line 18) | fn show(&mut self, models: &mut Models, ui: &mut Ui, frame: &mut efram... FILE: src/components/shortcuts.rs type Shortcut (line 6) | pub struct Shortcut; method apply (line 9) | pub fn apply(&mut self, models: &mut Models, ui: &mut Ui, _frame: &mut... FILE: src/components/table_view.rs type TableView (line 13) | pub struct TableView; method show (line 16) | fn show(&mut self, models: &mut Models, ui: &mut egui::Ui, _frame: &mut ... FILE: src/lib.rs constant APP_VERSION (line 13) | pub const APP_VERSION: &str = env!("CARGO_PKG_VERSION"); FILE: src/main.rs function main (line 6) | async fn main() { FILE: src/models/app_model.rs type ImportState (line 8) | pub enum ImportState { type MainStage (line 16) | pub enum MainStage { type DockStage (line 23) | pub enum DockStage { type TableTab (line 32) | pub enum TableTab { type InspectorTab (line 39) | pub enum InspectorTab { type Tool (line 49) | pub enum Tool { type AppModel (line 56) | pub struct AppModel { method node_file_name (line 142) | pub fn node_file_name(&self) -> Option<&str> { method edge_file_name (line 149) | pub fn edge_file_name(&self) -> Option<&str> { method default (line 77) | fn default() -> Self { FILE: src/models/data_model.rs type ExternalData (line 9) | pub struct ExternalData { type GraphicsStatus (line 16) | pub struct GraphicsStatus { type PositionType (line 24) | pub enum PositionType { type ColorRamp (line 30) | pub enum ColorRamp { type ColorPalette (line 36) | pub enum ColorPalette { type ColorType (line 42) | pub enum ColorType { type SizeType (line 49) | pub enum SizeType { type NodeSettings (line 54) | pub struct NodeSettings { type CameraSettings (line 69) | pub struct CameraSettings { method default (line 78) | fn default() -> Self { method default (line 88) | fn default() -> Self { type DataModel (line 104) | pub struct DataModel { method set_status (line 133) | pub fn set_status(&mut self) { method clear_source_target_list (line 144) | pub fn clear_source_target_list(&mut self) { method default (line 117) | fn default() -> Self { FILE: src/models/graphics_lib/bind_group_layout.rs type BindGroupLayout (line 3) | pub struct BindGroupLayout { method create_node_render_bind_group_layout (line 9) | pub fn create_node_render_bind_group_layout( device: &wgpu::Device ) -... method create_edge_render_bind_group_layout (line 42) | pub fn create_edge_render_bind_group_layout( device: &wgpu::Device ) -... method create_bounding_box_render_bind_group_layout (line 75) | pub fn create_bounding_box_render_bind_group_layout(device: &wgpu::Dev... method create_render_uniform_bind_group_layout (line 98) | pub fn create_render_uniform_bind_group_layout( device: &wgpu::Device ... FILE: src/models/graphics_lib/buffer_dimensions.rs type BufferDimensions (line 3) | pub struct BufferDimensions { method new (line 11) | pub fn new(width: usize, height: usize, bytes_per_pixel: usize) -> Self { FILE: src/models/graphics_lib/camera.rs type Camera (line 6) | pub struct Camera { method from (line 18) | pub fn from(position: glam::Vec3) -> Self { method set_aspect_ratio (line 34) | pub fn set_aspect_ratio(&mut self, aspect_ratio: f32) { method set_position (line 39) | pub fn set_position(&mut self, position: glam::Vec3) { method zoom (line 44) | pub fn zoom(&mut self, zoom_factor: f32) { method rotate (line 55) | pub fn rotate(&mut self, delta_angles: glam::Vec2) { method update_projection_matrix (line 67) | pub fn update_projection_matrix(&mut self) { function pos_to_angles_length (line 80) | fn pos_to_angles_length(pos: glam::Vec3) -> (glam::Vec2, f32) { function angles_length_to_pos (line 91) | fn angles_length_to_pos(angles: glam::Vec2, length: f32) -> glam::Vec3 { FILE: src/models/graphics_lib/camera_controls.rs type Controls (line 5) | pub struct Controls { method new (line 33) | pub fn new() -> Self { method update_interaction (line 54) | pub fn update_interaction(&mut self, ui: &mut Ui, is_hover: bool) { method update_camera (line 126) | pub fn update_camera(&mut self, ui: &mut Ui, camera: &mut Camera) { FILE: src/models/graphics_lib/compute_shader.rs type ComputeShader (line 5) | pub struct ComputeShader { method create_compute_kernel (line 35) | pub fn create_compute_kernel(&mut self, entry_point: &str, buffers: Ve... type ComputeBuffer (line 11) | pub struct ComputeBuffer<'a> { type ComputeBufferType (line 17) | pub enum ComputeBufferType { type ComputeKernel (line 94) | pub struct ComputeKernel { FILE: src/models/graphics_lib/render_pipeline.rs type RenderPipeline (line 3) | pub struct RenderPipeline { method create_node_render_pipeline (line 9) | pub fn create_node_render_pipeline( device: &wgpu::Device, layouts: &[... method create_edge_render_pipeline (line 75) | pub fn create_edge_render_pipeline( device: &wgpu::Device, layouts: &[... method create_axis_render_pipeline (line 139) | pub fn create_axis_render_pipeline( device: &wgpu::Device, layouts: &[... method create_bounding_box_render_pipeline (line 205) | pub fn create_bounding_box_render_pipeline( device: &wgpu::Device, lay... FILE: src/models/graphics_lib/texture.rs type Texture (line 3) | pub struct Texture { method create_depth_texture (line 11) | pub fn create_depth_texture(device: &wgpu::Device, size: &wgpu::Extent... method create_texture (line 48) | pub fn create_texture(device: &wgpu::Device, size: &wgpu::Extent3d, sa... FILE: src/models/graphics_lib/unifrom.rs type Uniforms (line 6) | pub struct Uniforms { function generate_uniforms (line 14) | pub fn generate_uniforms( FILE: src/models/graphics_model.rs constant PARTICLES_PER_GROUP (line 26) | const PARTICLES_PER_GROUP: u32 = 256; type Node (line 31) | pub struct Node { type Bound (line 39) | pub struct Bound { type BHTree (line 45) | pub struct BHTree { type BHTreeNode (line 54) | pub struct BHTreeNode { type ComputeUniforms (line 64) | pub struct ComputeUniforms { type EdgeSort (line 76) | pub struct EdgeSort { constant KERNEL_STATUS_COUNT (line 81) | pub const KERNEL_STATUS_COUNT: usize = 5; constant KERNEL_NAMES (line 82) | pub const KERNEL_NAMES: [&str; KERNEL_STATUS_COUNT] = [ type ComputeMethodType (line 94) | pub enum ComputeMethodType { type ComputeMethod (line 101) | pub struct ComputeMethod(pub &'static str, pub ComputeMethodType); constant FORCE_ATLAS2 (line 105) | pub const FORCE_ATLAS2: ComputeMethod = ComputeMethod("Force Atlas 2",... constant RANDOMIZE (line 106) | pub const RANDOMIZE: ComputeMethod = ComputeMethod("Randomize", Comput... type GraphicsModel (line 110) | pub struct GraphicsModel { method init (line 122) | pub fn init(cc: &eframe::CreationContext) -> Self { method reset (line 133) | pub fn reset(&mut self) { method switch_computing (line 142) | pub fn switch_computing(&mut self) { method set_computing (line 149) | pub fn set_computing(&mut self, state: bool) { method set_dispatching (line 156) | pub fn set_dispatching(&mut self, state: bool) { method cancel_error_state (line 160) | pub fn cancel_error_state(&mut self) { method render_output (line 166) | pub fn render_output(&mut self, out_folder:String) { type RenderOptions (line 176) | pub struct RenderOptions { type ComputePipelines (line 184) | pub struct ComputePipelines { type CastType (line 206) | pub enum CastType { type GraphicsResources (line 212) | pub struct GraphicsResources { method new (line 327) | pub fn new(render_state: egui_wgpu::RenderState) -> Self { method init_data (line 497) | pub fn init_data(&mut self, render_state: egui_wgpu::RenderState, mode... method compute (line 1394) | pub fn compute(&mut self) { method debug (line 1489) | pub fn debug<'a>(&'a mut self) { method calc_bounding_box (line 1544) | pub fn calc_bounding_box<'a>(&'a self, cpass: &mut ComputePass<'a>) { method dispatch_compute_kernel (line 1560) | pub fn dispatch_compute_kernel<'a>(&'a self, cpass: &mut ComputePass<'... method gen_node (line 1567) | pub fn gen_node(&mut self) { method randomize (line 1639) | pub fn randomize(&mut self) { method render (line 1666) | pub fn render(&mut self) { method update_viewport (line 1821) | pub fn update_viewport(&mut self, new_size: Vec2) { method prepare_cast (line 1857) | pub fn prepare_cast(&mut self) { method render_cast (line 1878) | pub fn render_cast(&mut self) { method copy_cast_data (line 1944) | pub fn copy_cast_data(&mut self) { method prepare_output (line 2024) | pub fn prepare_output(&mut self) { method output_png_after_render (line 2048) | pub fn output_png_after_render(&mut self, out_folder: String) { method update_control (line 2098) | pub fn update_control(&mut self, ui: &mut Ui, is_hover: bool, scale: f... method dispose (line 2128) | pub fn dispose(&mut self) { type GraphResources (line 271) | pub struct GraphResources { type GraphicsDebugger (line 319) | pub struct GraphicsDebugger { function update_render_uniforms (line 2148) | fn update_render_uniforms( function pad_size (line 2183) | fn pad_size(node_struct_size: usize, num_particles: u32) -> wgpu::Buffer... function get_tree_node_count (line 2192) | fn get_tree_node_count(node_count: &u32) -> u32 { FILE: src/models/mod.rs type Models (line 13) | pub struct Models { method setup_data (line 34) | pub fn setup_data(&mut self, data: ImportedData) { method clear_data (line 68) | pub fn clear_data(&mut self) { method pick_output_folder_and_then (line 79) | pub fn pick_output_folder_and_then(output_folder: &mut String, mut the... method render_output (line 88) | pub fn render_output(&mut self) { type ImportedData (line 20) | pub struct ImportedData { FILE: src/utils/constant.rs constant FONT_SIZE_BODY (line 3) | pub const FONT_SIZE_BODY: f32 = 11.0; constant FONT_SIZE_TITLE (line 4) | pub const FONT_SIZE_TITLE: f32 = 13.0; constant FONT_SIZE_HEADING (line 5) | pub const FONT_SIZE_HEADING: f32 = 18.0; constant ACCENT_COLOR (line 7) | pub const ACCENT_COLOR: egui::Color32 = egui::Color32::from_rgb(86, 89, ... constant MULTISAMPLE_STATE (line 9) | pub const MULTISAMPLE_STATE: wgpu::MultisampleState = wgpu::MultisampleS... constant TEXTURE_FORMAT (line 15) | pub const TEXTURE_FORMAT: wgpu::TextureFormat = wgpu::TextureForma... constant CAST_TEXTURE_FORMAT (line 16) | pub const CAST_TEXTURE_FORMAT: wgpu::TextureFormat = wgpu::TextureForma... constant DEPTH_FORMAT (line 17) | pub const DEPTH_FORMAT: wgpu::TextureFormat = wgpu::TextureForma... FILE: src/utils/csv_loader.rs function read_headers_from_csv (line 7) | pub fn read_headers_from_csv( function read_from_csv (line 28) | pub fn read_from_csv(path: &Option) -> Result Option { function pick_csv (line 15) | pub fn pick_csv() -> Option { function path_to_string (line 21) | pub fn path_to_string(path: &Option) -> Option { function system_open_directory (line 25) | pub fn system_open_directory(output_directory: &str) { function desktop_dir_or_empty (line 39) | pub fn desktop_dir_or_empty() -> String { function get_resource_path (line 49) | pub fn get_resource_path(relative_path: &str) -> PathBuf { function create_png (line 65) | pub async fn create_png( FILE: src/utils/message.rs type MessageLevel (line 8) | pub enum MessageLevel { type Message (line 14) | pub struct Message { method new (line 22) | fn new(level: MessageLevel, title: &str, content: &str) -> Self { method info (line 31) | fn info(title: &str, content: &str) -> Self { method warning (line 35) | fn warning(title: &str, content: &str) -> Self { method error (line 39) | fn error(title: &str, content: &str) -> Self { method display_time (line 57) | pub fn display_time(&self) -> String { method fmt (line 45) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function messenger (line 70) | pub fn messenger() -> MutexGuard<'static, Vec> { function message_info (line 74) | pub fn message_info(title: &str, content: &str) { function message_warning (line 78) | pub fn message_warning(title: &str, content: &str) { function message_error (line 82) | pub fn message_error(title: &str, content: &str) { FILE: src/widgets/frames.rs constant DEFAULT_BUTTON_PADDING (line 4) | pub const DEFAULT_BUTTON_PADDING: Vec2 = egui::vec2(4.0, 1.0); constant TOOL_BUTTON_PADDING (line 5) | pub const TOOL_BUTTON_PADDING: Vec2 = egui::vec2(0.0, 0.0); function window_frame (line 7) | pub fn window_frame(style: &egui::Style) -> egui::Frame { function menu_panel_style (line 17) | pub fn menu_panel_style(_style: &egui::Style, _is_fullscreen: bool) -> e... function central_panel_frame (line 38) | pub fn central_panel_frame(style: &egui::Style) -> egui::Frame { function inner_panel_frame (line 48) | pub fn inner_panel_frame(_: &egui::Style) -> egui::Frame { function button_group_style (line 56) | pub fn button_group_style(_: &egui::Style) -> egui::Frame { function tool_item_group_style (line 66) | pub fn tool_item_group_style(_style: &egui::Style) -> egui::Frame { function inspector_frame (line 79) | pub fn inspector_frame(style: &egui::Style) -> egui::Frame { function inspector_inner_frame (line 89) | pub fn inspector_inner_frame(_style: &egui::Style) -> egui::Frame { function graphics_frame (line 97) | pub fn graphics_frame(_style: &egui::Style, is_fullscreen: bool) -> egui... function graphics_hover_frame (line 106) | pub fn graphics_hover_frame(style: &egui::Style) -> egui::Frame { function toolbar_inner_frame (line 117) | pub fn toolbar_inner_frame(_style: &egui::Style) -> egui::Frame { function toolbar_inner_frame_bottom (line 125) | pub fn toolbar_inner_frame_bottom(_style: &egui::Style) -> egui::Frame { function toolbar_inner_frame_top (line 138) | pub fn toolbar_inner_frame_top(_style: &egui::Style) -> egui::Frame { function toolbar_timeline_frame (line 151) | pub fn toolbar_timeline_frame(style: &egui::Style) -> egui::Frame { function dock_frame (line 164) | pub fn dock_frame(style: &egui::Style) -> egui::Frame { function drawer_frame (line 179) | pub fn drawer_frame(style: &egui::Style) -> egui::Frame { function drawer_title_frame (line 189) | pub fn drawer_title_frame(_style: &egui::Style) -> egui::Frame { function drawer_message_content_frame (line 202) | pub fn drawer_message_content_frame(_style: &egui::Style) -> egui::Frame { function drawer_kernel_content_frame (line 214) | pub fn drawer_kernel_content_frame(_style: &egui::Style) -> egui::Frame { FILE: src/widgets/modal.rs type Modal (line 3) | pub struct Modal { method new (line 9) | pub fn new(id_source: String) -> Self { method show (line 17) | pub fn show(