mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-29 10:13:34 +00:00
refactor(naga)!: remove ExpressionTracer::overrides
This commit is contained in:
parent
54fb4ccf7d
commit
6b3e039250
@ -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>,
|
||||||
|
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user