fix fallthrough when deciding lowp/highp

This would toss the _obs mode SkRasterPipelines into highp way too often, and is just a bug.

This fixes most diffs between the jumper and obs modes.  The rest look like FMA changes, and there are no diffs when limited to SSE4.1.

Change-Id: Ib71c2a8c720b8b1e6319d1c3354ea6f4f2d9b77f
Reviewed-on: https://skia-review.googlesource.com/c/180602
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Herb Derby <herb@google.com>
This commit is contained in:
Mike Klein 2019-01-02 11:22:49 -05:00 committed by Skia Commit-Bot
parent 279b65ddb5
commit c11bf8ce0b

View File

@ -3385,7 +3385,7 @@ STAGE_PP(srcover_rgba_8888, const SkRasterPipeline_MemoryCtx* ctx) {
static bool can_run_pipeline_obs(const SkRasterPipeline::StockStage* stages, int nstages) {
for (int i = 0; i < nstages; i++) {
switch (stages[i]) {
#define CASE(st) case SkRasterPipeline::st: if (!st) { return false; }
#define CASE(st) case SkRasterPipeline::st: if (!st) { return false; } break;
SK_RASTER_PIPELINE_STAGES(CASE)
#undef CASE
}