Rename decorations to custom_decorations.

This commit is contained in:
Eduard-Mihai Burtescu 2023-05-20 14:04:27 +03:00 committed by Eduard-Mihai Burtescu
parent a686676e44
commit a42b7edbea
8 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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};

View File

@ -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};

View File

@ -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;

View File

@ -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};