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:
parent
816764dbd4
commit
095f5f71b5
|
@ -227,8 +227,8 @@ std::ostream& operator<<(std::ostream& out, Intrinsic i) {
|
|||
namespace intrinsic {
|
||||
|
||||
bool IsCoarseDerivative(ast::Intrinsic i) {
|
||||
return i == Intrinsic::kDpdxCoarse ||
|
||||
i == Intrinsic::kDpdyCoarse | i == Intrinsic::kFwidthCoarse;
|
||||
return i == Intrinsic::kDpdxCoarse || i == Intrinsic::kDpdyCoarse ||
|
||||
i == Intrinsic::kFwidthCoarse;
|
||||
}
|
||||
|
||||
bool IsFineDerivative(ast::Intrinsic i) {
|
||||
|
|
Loading…
Reference in New Issue