aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLIntLiteral.h
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2017-08-01 19:29:48 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-01 19:30:04 +0000
commit0e9605542444a7653359f4fc610f7620df9f6313 (patch)
treec9edebc09b883c9500b0da4565fab0e2d08570af /src/sksl/ir/SkSLIntLiteral.h
parentd310879427018ee3727d61c3a0780f0a17c93935 (diff)
Revert "support for 'half' types in sksl, plus general numeric type improvements"
This reverts commit 93061b53442ce303e9d3ef74c7eeddc034802c4f. Reason for revert: bot failures Original change's description: > support for 'half' types in sksl, plus general numeric type improvements > > Bug: skia: > Change-Id: Id285262fda8291847f11343d499b5df62ddb4b09 > Reviewed-on: https://skia-review.googlesource.com/28980 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Ethan Nicholas <ethannicholas@google.com> TBR=bsalomon@google.com,ethannicholas@google.com Change-Id: Ie8672271d35b9fcdf567f8bc3674084748be66ad No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia: Reviewed-on: https://skia-review.googlesource.com/29600 Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl/ir/SkSLIntLiteral.h')
-rw-r--r--src/sksl/ir/SkSLIntLiteral.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/sksl/ir/SkSLIntLiteral.h b/src/sksl/ir/SkSLIntLiteral.h
index 6199f96610..d8eba5573a 100644
--- a/src/sksl/ir/SkSLIntLiteral.h
+++ b/src/sksl/ir/SkSLIntLiteral.h
@@ -40,13 +40,6 @@ struct IntLiteral : public Expression {
return fValue == i.fValue;
}
- int coercionCost(const Type& target) const override {
- if (target.isUnsigned()) {
- return 0;
- }
- return INHERITED::coercionCost(target);
- }
-
const int64_t fValue;
typedef Expression INHERITED;