0b84159e3b
Previously, we didn't have tests which leveraged constant-evaluation of array indexing (because we didn't support it), and our test files commingled constant-indexing into vectors with constant-indexing into arrays. The test files now separate vector- and array-handling into separate tests, and a ton of new cases have been added to ArrayFolding. The ArrayFolding tests now require constant-evaluation of array indexing, so they fail in this CL, but will be fixed in the followup CL. Change-Id: I3b663e743d97d6db80627bc9b7808f88c99917a7 Bug: skia:12472 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/469528 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com>
9 lines
278 B
GLSL
9 lines
278 B
GLSL
### Compilation failed:
|
|
|
|
error: 1: index -1 out of range for 'int[123]'
|
|
error: 4: index 123 out of range for 'half4x4[123]'
|
|
error: 5: index 1000000000 out of range for 'int4[123]'
|
|
error: 6: index 3000000000 out of range for 'half3[123]'
|
|
error: 7: missing index in '[]'
|
|
5 errors
|