diff --git a/src/tint/resolver/const_eval.cc b/src/tint/resolver/const_eval.cc index 97f8cc403b..558564388b 100644 --- a/src/tint/resolver/const_eval.cc +++ b/src/tint/resolver/const_eval.cc @@ -3077,9 +3077,9 @@ ConstEval::Result ConstEval::pack4x8unorm(const type::Type* ty, } ConstEval::Result ConstEval::pow(const type::Type* ty, - utils::VectorRef args, + utils::VectorRef args, const Source& source) { - auto transform = [&](const sem::Constant* c0, const sem::Constant* c1) { + auto transform = [&](const constant::Constant* c0, const constant::Constant* c1) { auto create = [&](auto e1, auto e2) -> ImplResult { auto r = CheckedPow(e1, e2); if (!r) { diff --git a/src/tint/resolver/const_eval.h b/src/tint/resolver/const_eval.h index 4a99bc0f2d..20b5e77d61 100644 --- a/src/tint/resolver/const_eval.h +++ b/src/tint/resolver/const_eval.h @@ -839,7 +839,7 @@ class ConstEval { /// @param source the source location /// @return the result value, or null if the value cannot be calculated Result pow(const type::Type* ty, - utils::VectorRef args, + utils::VectorRef args, const Source& source); /// radians builtin