fix clang error

Change-Id: I7e68da53821b143d7ec55ef323822982b8f0b336
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/29042
Commit-Queue: Sarah Mashayekhi <sarahmashay@google.com>
Commit-Queue: dan sinclair <dsinclair@chromium.org>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
Sarah Mashayekhi 2020-09-26 02:00:53 +00:00 committed by Commit Bot service account
parent 816764dbd4
commit 095f5f71b5
1 changed files with 2 additions and 2 deletions

View File

@ -227,8 +227,8 @@ std::ostream& operator<<(std::ostream& out, Intrinsic i) {
namespace intrinsic { namespace intrinsic {
bool IsCoarseDerivative(ast::Intrinsic i) { bool IsCoarseDerivative(ast::Intrinsic i) {
return i == Intrinsic::kDpdxCoarse || return i == Intrinsic::kDpdxCoarse || i == Intrinsic::kDpdyCoarse ||
i == Intrinsic::kDpdyCoarse | i == Intrinsic::kFwidthCoarse; i == Intrinsic::kFwidthCoarse;
} }
bool IsFineDerivative(ast::Intrinsic i) { bool IsFineDerivative(ast::Intrinsic i) {