disable skx SkRP stages

I can reproduce the regression on my skylake xeon desktop.

Bug: skia:10174
Change-Id: Ibdc8dc3339433648223439d465917c67183f6c97
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/285625
Commit-Queue: Mike Klein <mtklein@google.com>
Commit-Queue: Herb Derby <herb@google.com>
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Herb Derby <herb@google.com>
This commit is contained in:
Mike Klein 2020-04-27 08:46:25 -05:00 committed by Skia Commit-Bot
parent 56f23a1d17
commit cde79c7b3c

View File

@ -45,25 +45,11 @@
#define SK_OPTS_NS skx #define SK_OPTS_NS skx
#include "src/opts/SkBlitRow_opts.h" #include "src/opts/SkBlitRow_opts.h"
#include "src/opts/SkRasterPipeline_opts.h"
#include "src/opts/SkVM_opts.h" #include "src/opts/SkVM_opts.h"
namespace SkOpts { namespace SkOpts {
void Init_skx() { void Init_skx() {
blit_row_s32a_opaque = SK_OPTS_NS::blit_row_s32a_opaque; blit_row_s32a_opaque = SK_OPTS_NS::blit_row_s32a_opaque;
#define M(st) stages_highp[SkRasterPipeline::st] = (StageFn)SK_OPTS_NS::st;
SK_RASTER_PIPELINE_STAGES(M)
just_return_highp = (StageFn)SK_OPTS_NS::just_return;
start_pipeline_highp = SK_OPTS_NS::start_pipeline;
#undef M
#define M(st) stages_lowp[SkRasterPipeline::st] = (StageFn)SK_OPTS_NS::lowp::st;
SK_RASTER_PIPELINE_STAGES(M)
just_return_lowp = (StageFn)SK_OPTS_NS::lowp::just_return;
start_pipeline_lowp = SK_OPTS_NS::lowp::start_pipeline;
#undef M
interpret_skvm = SK_OPTS_NS::interpret_skvm; interpret_skvm = SK_OPTS_NS::interpret_skvm;
} }
} }