mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-10-30 05:52:39 +00:00
Rename decorations
to custom_decorations
.
This commit is contained in:
parent
a686676e44
commit
a42b7edbea
@ -2,7 +2,7 @@ use super::CodegenCx;
|
||||
use crate::abi::ConvSpirvType;
|
||||
use crate::attr::AggregatedSpirvAttributes;
|
||||
use crate::builder_spirv::{SpirvConst, SpirvValue, SpirvValueExt};
|
||||
use crate::decorations::{CustomDecoration, SrcLocDecoration};
|
||||
use crate::custom_decorations::{CustomDecoration, SrcLocDecoration};
|
||||
use crate::spirv_type::SpirvType;
|
||||
use rspirv::spirv::{FunctionControl, LinkageType, StorageClass, Word};
|
||||
use rustc_attr::InlineAttr;
|
||||
|
@ -5,7 +5,7 @@ mod type_;
|
||||
|
||||
use crate::builder::{ExtInst, InstructionTable};
|
||||
use crate::builder_spirv::{BuilderCursor, BuilderSpirv, SpirvConst, SpirvValue, SpirvValueKind};
|
||||
use crate::decorations::{CustomDecoration, SrcLocDecoration, ZombieDecoration};
|
||||
use crate::custom_decorations::{CustomDecoration, SrcLocDecoration, ZombieDecoration};
|
||||
use crate::spirv_type::{SpirvType, SpirvTypePrinter, TypeCache};
|
||||
use crate::symbols::Symbols;
|
||||
use crate::target::SpirvTarget;
|
||||
|
@ -72,7 +72,7 @@ mod attr;
|
||||
mod builder;
|
||||
mod builder_spirv;
|
||||
mod codegen_cx;
|
||||
mod decorations;
|
||||
mod custom_decorations;
|
||||
mod link;
|
||||
mod linker;
|
||||
mod spirv_type;
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::Result;
|
||||
use crate::decorations::{CustomDecoration, ZombieDecoration};
|
||||
use crate::custom_decorations::{CustomDecoration, ZombieDecoration};
|
||||
use rspirv::dr::{Instruction, Module};
|
||||
use rspirv::spirv::{Capability, Decoration, LinkageType, Op, Word};
|
||||
use rustc_data_structures::fx::{FxHashMap, FxHashSet};
|
||||
|
@ -19,7 +19,7 @@ mod zombies;
|
||||
use std::borrow::Cow;
|
||||
|
||||
use crate::codegen_cx::SpirvMetadata;
|
||||
use crate::decorations::{CustomDecoration, SrcLocDecoration, ZombieDecoration};
|
||||
use crate::custom_decorations::{CustomDecoration, SrcLocDecoration, ZombieDecoration};
|
||||
use either::Either;
|
||||
use rspirv::binary::{Assemble, Consumer};
|
||||
use rspirv::dr::{Block, Instruction, Loader, Module, ModuleHeader, Operand};
|
||||
|
@ -1,4 +1,4 @@
|
||||
use crate::decorations::{CustomDecoration, SpanRegenerator, SrcLocDecoration, ZombieDecoration};
|
||||
use crate::custom_decorations::{CustomDecoration, SpanRegenerator, SrcLocDecoration, ZombieDecoration};
|
||||
use rustc_data_structures::fx::FxIndexSet;
|
||||
use rustc_errors::DiagnosticBuilder;
|
||||
use rustc_session::Session;
|
||||
|
@ -1,7 +1,7 @@
|
||||
//! See documentation on `CodegenCx::zombie` for a description of the zombie system.
|
||||
|
||||
use super::{get_name, get_names};
|
||||
use crate::decorations::{CustomDecoration, SpanRegenerator, ZombieDecoration};
|
||||
use crate::custom_decorations::{CustomDecoration, SpanRegenerator, ZombieDecoration};
|
||||
use rspirv::dr::{Instruction, Module, Operand};
|
||||
use rspirv::spirv::{Op, Word};
|
||||
use rustc_data_structures::fx::{FxHashMap, FxIndexMap};
|
||||
|
Loading…
Reference in New Issue
Block a user