mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Moved the ConstantSolver to the glsl frontend
This commit is contained in:
committed by
Dzmitry Malyshau
parent
88eee833d7
commit
647dd76dba
@@ -1,6 +1,6 @@
|
||||
use super::error::ErrorKind;
|
||||
use super::{constants::ConstantSolver, error::ErrorKind};
|
||||
use crate::{
|
||||
proc::{ConstantSolver, ResolveContext, Typifier},
|
||||
proc::{ResolveContext, Typifier},
|
||||
Arena, BinaryOperator, Binding, Constant, Expression, FastHashMap, Function, FunctionArgument,
|
||||
GlobalVariable, Handle, Interpolation, LocalVariable, Module, ShaderStage, Statement,
|
||||
StorageClass, Type,
|
||||
|
||||
@@ -14,6 +14,7 @@ use ast::Program;
|
||||
use lex::Lexer;
|
||||
mod error;
|
||||
pub use error::ParseError;
|
||||
mod constants;
|
||||
mod functions;
|
||||
mod parser;
|
||||
#[cfg(test)]
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
#[cfg(feature = "petgraph")]
|
||||
mod call_graph;
|
||||
mod constants;
|
||||
mod interface;
|
||||
mod layouter;
|
||||
mod namer;
|
||||
@@ -12,7 +11,6 @@ mod validator;
|
||||
|
||||
#[cfg(feature = "petgraph")]
|
||||
pub use call_graph::{CallGraph, CallGraphBuilder};
|
||||
pub use constants::{ConstantSolver, ConstantSolvingError};
|
||||
pub use interface::{Interface, Visitor};
|
||||
pub use layouter::{Alignment, Layouter};
|
||||
pub use namer::{EntryPointIndex, NameKey, Namer};
|
||||
|
||||
Reference in New Issue
Block a user