a517cfc3f4
I'm looking to phase out I32a/F32a, and rewriting this expression to avoid select() makes it easier, making these types unused except in SkVM.{h,cpp}. There's no particular reason beyond making that refactor easier to do this: SkVM can convert select(cond, splat(1), splat(0)) into cond & 1 itself, and once I'm done with removing I32a/F32a, if we prefer select we should be able to rewrite this back as dst[i] = skvm::select(i32(src[i]), 1, 0); Change-Id: I562a112e54fdc2578802db02f6754c64a12798cc Reviewed-on: https://skia-review.googlesource.com/c/skia/+/353837 Commit-Queue: Mike Klein <mtklein@google.com> Reviewed-by: Brian Osman <brianosman@google.com> |
||
---|---|---|
.. | ||
golden | ||
ConversionConstructors.rte | ||
LoopFloat.rte | ||
LoopInt.rte | ||
SampleWithConstantMatrix.rte | ||
SampleWithExplicitCoord.rte | ||
SampleWithUniformMatrix.rte | ||
SampleWithVariableMatrix.rte |