skia2/tests/sksl
John Stiles bf282c05e5 Replace array indexing on vector types with swizzles.
Our optimizer ignores index expressions, but has a few simplifications
that it can perform on swizzles. (Added extra code to SwizzleByIndex
which demonstrates this.)

Change-Id: If3c85a0456d98749008d796e422944b602ee6933
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/341460
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-12-07 21:16:40 +00:00
..
blend Fix SPIR-V and Metal support for enum types. 2020-11-30 18:05:48 +00:00
errors remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
fp Reland "Remove inliner from IR generation stage." 2020-11-20 18:44:07 +00:00
glsl Replace array indexing on vector types with swizzles. 2020-12-07 21:16:40 +00:00
inliner Add global struct definitions to SkSL. 2020-11-30 15:26:14 +00:00
metal Replace array indexing on vector types with swizzles. 2020-12-07 21:16:40 +00:00
shared Replace array indexing on vector types with swizzles. 2020-12-07 21:16:40 +00:00
spirv remove incorrect line number from SkSL errors with no source information 2020-12-07 18:29:50 +00:00
workarounds Avoid inlining functions that are called repeatedly. 2020-11-23 21:51:43 +00:00