Roll skia/third_party/skcms 10736f2da359..5e67e5c19fd3 (1 commits)
https://skia.googlesource.com/skcms.git/+log/10736f2da359..5e67e5c19fd3 2019-03-06 mtklein@google.com add emscripten builds, with and without SIMD The AutoRoll server is located here: https://autoroll.skia.org/r/skcms-skia-autoroll Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. CQ_INCLUDE_TRYBOTS=luci.chromium.try:linux-blink-rel TBR=reed@google.com Change-Id: I639c1b3781b5c775092527851db0c275ba408ae7 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/198220 Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com> Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
This commit is contained in:
parent
39db8ae3c0
commit
6272ccd629
12
third_party/skcms/skcms.cc
vendored
12
third_party/skcms/skcms.cc
vendored
@ -1806,15 +1806,6 @@ typedef enum {
|
||||
Op_store_ffff,
|
||||
} Op;
|
||||
|
||||
// Without this wasm would try to use the N=4 128-bit vector code path,
|
||||
// which while ideal, causes tons of compiler problems. This would be
|
||||
// a good thing to revisit as emcc matures (currently 1.38.5).
|
||||
#if 1 && defined(__EMSCRIPTEN_major__)
|
||||
#if !defined(SKCMS_PORTABLE)
|
||||
#define SKCMS_PORTABLE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(__clang__)
|
||||
template <int N, typename T> using Vec = T __attribute__((ext_vector_type(N)));
|
||||
#elif defined(__GNUC__)
|
||||
@ -1829,7 +1820,8 @@ typedef enum {
|
||||
// First, instantiate our default exec_ops() implementation using the default compiliation target.
|
||||
|
||||
namespace baseline {
|
||||
#if defined(SKCMS_PORTABLE) || !(defined(__clang__) || defined(__GNUC__))
|
||||
#if defined(SKCMS_PORTABLE) || !(defined(__clang__) || defined(__GNUC__)) \
|
||||
|| (defined(__EMSCRIPTEN_major__) && !defined(__wasm_simd128__))
|
||||
#define N 1
|
||||
using F = float;
|
||||
using U64 = uint64_t;
|
||||
|
2
third_party/skcms/version.sha1
vendored
2
third_party/skcms/version.sha1
vendored
@ -1 +1 @@
|
||||
10736f2da359a4adf7545795351fd904d0ad4133
|
||||
5e67e5c19fd337d1b7e5601d162d3e21d01e11e5
|
Loading…
Reference in New Issue
Block a user