skia2/tests/sksl/runtime
Mike Klein a517cfc3f4 slightly tweak bool->int
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>
2021-01-14 17:14:33 +00:00
..
golden slightly tweak bool->int 2021-01-14 17:14:33 +00:00
ConversionConstructors.rte Add SkVM support for conversion constructors to and from boolean. 2021-01-06 15:23:09 +00:00
LoopFloat.rte Add unit tests for for-loop unrolling 2021-01-14 14:38:16 +00:00
LoopInt.rte Add unit tests for for-loop unrolling 2021-01-14 14:38:16 +00:00
SampleWithConstantMatrix.rte Add .rte -> .skvm unit test framework 2020-12-22 17:59:42 +00:00
SampleWithExplicitCoord.rte Add .rte -> .skvm unit test framework 2020-12-22 17:59:42 +00:00
SampleWithUniformMatrix.rte Add .rte -> .skvm unit test framework 2020-12-22 17:59:42 +00:00
SampleWithVariableMatrix.rte Add .rte -> .skvm unit test framework 2020-12-22 17:59:42 +00:00