refactor(naga)!: remove ExpressionTracer::overrides

This commit is contained in:
Erich Gubler 2024-07-04 19:55:11 -06:00
parent 54fb4ccf7d
commit 6b3e039250
3 changed files with 0 additions and 3 deletions

View File

@ -3,7 +3,6 @@ use crate::arena::{Arena, Handle};
pub struct ExpressionTracer<'tracer> { pub struct ExpressionTracer<'tracer> {
pub constants: &'tracer Arena<crate::Constant>, pub constants: &'tracer Arena<crate::Constant>,
pub overrides: &'tracer Arena<crate::Override>,
/// The arena in which we are currently tracing expressions. /// The arena in which we are currently tracing expressions.
pub expressions: &'tracer Arena<crate::Expression>, pub expressions: &'tracer Arena<crate::Expression>,

View File

@ -48,7 +48,6 @@ impl<'a> FunctionTracer<'a> {
fn as_expression(&mut self) -> super::expressions::ExpressionTracer { fn as_expression(&mut self) -> super::expressions::ExpressionTracer {
super::expressions::ExpressionTracer { super::expressions::ExpressionTracer {
constants: self.constants, constants: self.constants,
overrides: self.overrides,
expressions: &self.function.expressions, expressions: &self.function.expressions,
types_used: self.types_used, types_used: self.types_used,

View File

@ -253,7 +253,6 @@ impl<'module> ModuleTracer<'module> {
expressions::ExpressionTracer { expressions::ExpressionTracer {
expressions: &self.module.global_expressions, expressions: &self.module.global_expressions,
constants: &self.module.constants, constants: &self.module.constants,
overrides: &self.module.overrides,
types_used: &mut self.types_used, types_used: &mut self.types_used,
constants_used: &mut self.constants_used, constants_used: &mut self.constants_used,
expressions_used: &mut self.global_expressions_used, expressions_used: &mut self.global_expressions_used,