mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-05 04:36:02 +00:00
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:
parent
51d88ebf30
commit
1c953fa863
@ -3077,9 +3077,9 @@ ConstEval::Result ConstEval::pack4x8unorm(const type::Type* ty,
|
|||||||
}
|
}
|
||||||
|
|
||||||
ConstEval::Result ConstEval::pow(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) {
|
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 create = [&](auto e1, auto e2) -> ImplResult {
|
||||||
auto r = CheckedPow(e1, e2);
|
auto r = CheckedPow(e1, e2);
|
||||||
if (!r) {
|
if (!r) {
|
||||||
|
@ -839,7 +839,7 @@ class ConstEval {
|
|||||||
/// @param source the source location
|
/// @param source the source location
|
||||||
/// @return the result value, or null if the value cannot be calculated
|
/// @return the result value, or null if the value cannot be calculated
|
||||||
Result pow(const type::Type* ty,
|
Result pow(const type::Type* ty,
|
||||||
utils::VectorRef<const sem::Constant*> args,
|
utils::VectorRef<const constant::Constant*> args,
|
||||||
const Source& source);
|
const Source& source);
|
||||||
|
|
||||||
/// radians builtin
|
/// radians builtin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user