|
_runSkiaTest('FragmentShader shader with array uniforms renders correctly', () async { |
fails on impeller.
It turns out that the mat2Array is partially initialized on impeller. For example mat2Array[0][0][0] is its expected value, but mat2Array[0][1][0] is not, but mat2Array[1][0][0] is.
I've placed a print statement in the FragmentShader constructor for the size of the floats to intialize. On skia it correctly reports 20, on impeller it reports 40.
flutter/engine/src/flutter/testing/dart/fragment_shader_test.dart
Line 480 in 82d232d
It turns out that the
mat2Arrayis partially initialized on impeller. For example mat2Array[0][0][0] is its expected value, but mat2Array[0][1][0] is not, but mat2Array[1][0][0] is.I've placed a print statement in the FragmentShader constructor for the size of the floats to intialize. On skia it correctly reports 20, on impeller it reports 40.