commit | ff98f289dcd831aab35064389b96378d631c7e1b | [log] [tgz] |
---|---|---|
author | Jim Van Verth <jvanverth@google.com> | Fri Mar 19 08:37:02 2021 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Mar 19 13:47:18 2021 +0000 |
tree | cc4b0a2c0522193698a52c3a80bc875ed6fc5bc5 | |
parent | 20bb83fd8846741416bd95011a1eab8c45721a67 [diff] [blame] |
Add Metal compile options. For now, just turns on fastmath. Change-Id: Ica821dbfd5b30f9e0cceb1eed9443905987f292a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/385882 Commit-Queue: Jim Van Verth <jvanverth@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
diff --git a/src/gpu/GrShaderCaps.cpp b/src/gpu/GrShaderCaps.cpp index 0f45b66..e15af6d 100644 --- a/src/gpu/GrShaderCaps.cpp +++ b/src/gpu/GrShaderCaps.cpp
@@ -58,6 +58,7 @@ fBuiltinFMASupport = false; fBuiltinDeterminantSupport = false; fCanUseDoLoops = true; + fCanUseFastMath = false; fUseNodePools = true; fVersionDeclString = nullptr;