tint: fix build

Change-Id: I9983c19eba1e170b6598f19625ad6cfcf8574dc7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/114020
Reviewed-by: James Price <jrprice@google.com>
Auto-Submit: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: dan sinclair <dsinclair@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
Antonio Maiorano 2022-12-13 18:09:34 +00:00
parent 51d88ebf30
commit 1c953fa863
2 changed files with 3 additions and 3 deletions

View File

@ -3077,9 +3077,9 @@ ConstEval::Result ConstEval::pack4x8unorm(const type::Type* ty,
}
ConstEval::Result ConstEval::pow(const type::Type* ty,
utils::VectorRef<const sem::Constant*> args,
utils::VectorRef<const constant::Constant*> 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) {

View File

@ -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<const sem::Constant*> args,
utils::VectorRef<const constant::Constant*> args,
const Source& source);
/// radians builtin