commit | 023f2e776eff285da50bcae18f44cb7216e9cc00 | [log] [tgz] |
---|---|---|
author | Jim Van Verth <jvanverth@google.com> | Fri Oct 09 15:38:58 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Oct 09 20:34:13 2020 +0000 |
tree | f63af2b7256454ab1f016b5097cfa89c2c1123ee | |
parent | 88cda17bbeb8f34273184fd8cd40bc282a001719 [diff] |
Use push constants cap in Metal. * Sets the cap and uses it for verifying vertex/fragmentBytes size instead of a magic number. * Also makes maxPushConstantsSize unsigned to avoid warnings and unnecessary casting. Change-Id: I2aaea853604eb3c652ddbae3adb0168a4e41799a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/324880 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>