Changes found in shader flutter/impeller/entity/gles/line.frag.gles on core Mali-G78:
In variant Main:
fp16_arithmetic: 6 <- before
fp16_arithmetic: 0 <- after
longest_path_cycles in variant Main
arith_total arith_fma arith_cvt arith_sfu load_store varying texture bound
before 0.218750 0.140625 0.218750 0.000000 0.000000 1.750000 0.500000 varying
after 0.187500 0.187500 0.187500 0.000000 0.000000 1.750000 0.500000 varying
shortest_path_cycles in variant Main
arith_total arith_fma arith_cvt arith_sfu load_store varying texture bound
before 0.140625 0.125000 0.140625 0.000000 0.000000 1.750000 0.000000 varying
after 0.171875 0.171875 0.109375 0.000000 0.000000 1.750000 0.000000 varying
total_cycles in variant Main
arith_total arith_fma arith_cvt arith_sfu load_store varying texture bound
before 0.218750 0.140625 0.218750 0.000000 0.000000 1.750000 0.500000 varying
after 0.187500 0.187500 0.187500 0.000000 0.000000 1.750000 0.500000 varying
For a full report, run:
$ malioc --fragment --core Mali-G78 /b/s/w/ir/cache/builder/engine/src/out/ci/android_debug_unopt/gen/flutter/impeller/entity/gles/line.frag.gles
Changes found in shader flutter/impeller/entity/line.frag.vkspv on core Mali-G78:
In variant Main:
fp16_arithmetic: 15 <- before
fp16_arithmetic: 33 <- after
longest_path_cycles in variant Main
arith_total arith_fma arith_cvt arith_sfu load_store varying texture bound
before 0.187500 0.140625 0.187500 0.187500 0.000000 1.750000 0.500000 varying
after 0.187500 0.171875 0.156250 0.187500 0.000000 1.750000 0.500000 varying
shortest_path_cycles in variant Main
arith_total arith_fma arith_cvt arith_sfu load_store varying texture bound
before 0.187500 0.125000 0.140625 0.187500 0.000000 1.750000 0.000000 varying
after 0.187500 0.156250 0.109375 0.187500 0.000000 1.750000 0.000000 varying
total_cycles in variant Main
arith_total arith_fma arith_cvt arith_sfu load_store varying texture bound
before 0.187500 0.140625 0.187500 0.187500 0.000000 1.750000 0.500000 varying
after 0.187500 0.171875 0.156250 0.187500 0.000000 1.750000 0.500000 varying
In variant Main:
uniform_registers_used: 6 <- before
uniform_registers_used: 4 <- after
For a full report, run:
$ malioc --fragment --core Mali-G78 /b/s/w/ir/cache/builder/engine/src/out/ci/android_debug_unopt/gen/flutter/impeller/entity/line.frag.vkspv
There are new shaders, shaders have been removed, or performance changes to existing shaders. The golden file must be updated after a build of android_debug_unopt using the --malioc-path flag to the flutter/tools/gn script.
$ ./flutter/impeller/tools/malioc_diff.py --before /b/s/w/ir/cache/builder/engine/src/flutter/impeller/tools/malioc.json --after /b/s/w/ir/cache/builder/engine/src/out/ci/android_debug_unopt/gen/malioc --update
You can alternately apply the diff below:
patch -p0 <<DONE
--- flutter/impeller/tools/malioc.json
+++
@@ -4431,16 +4431,16 @@
"uses_late_zs_update": false,
"variants": {
"Main": {
- "fp16_arithmetic": 6,
+ "fp16_arithmetic": 0,
"has_stack_spilling": false,
"performance": {
"longest_path_bound_pipelines": [
"varying"
],
"longest_path_cycles": [
- 0.21875,
- 0.140625,
- 0.21875,
+ 0.1875,
+ 0.1875,
+ 0.1875,
0.0,
0.0,
1.75,
@@ -4459,9 +4459,9 @@
"varying"
],
"shortest_path_cycles": [
- 0.140625,
- 0.125,
- 0.140625,
+ 0.171875,
+ 0.171875,
+ 0.109375,
0.0,
0.0,
1.75,
@@ -4471,9 +4471,9 @@
"varying"
],
"total_cycles": [
- 0.21875,
- 0.140625,
- 0.21875,
+ 0.1875,
+ 0.1875,
+ 0.1875,
0.0,
0.0,
1.75,
@@ -8251,7 +8251,7 @@
"uses_late_zs_update": false,
"variants": {
"Main": {
- "fp16_arithmetic": 15,
+ "fp16_arithmetic": 33,
"has_stack_spilling": false,
"performance": {
"longest_path_bound_pipelines": [
@@ -8259,8 +8259,8 @@
],
"longest_path_cycles": [
0.1875,
- 0.140625,
- 0.1875,
+ 0.171875,
+ 0.15625,
0.1875,
0.0,
1.75,
@@ -8280,8 +8280,8 @@
],
"shortest_path_cycles": [
0.1875,
- 0.125,
- 0.140625,
+ 0.15625,
+ 0.109375,
0.1875,
0.0,
1.75,
@@ -8292,8 +8292,8 @@
],
"total_cycles": [
0.1875,
- 0.140625,
- 0.1875,
+ 0.171875,
+ 0.15625,
0.1875,
0.0,
1.75,
@@ -8302,7 +8302,7 @@
},
"stack_spill_bytes": 0,
"thread_occupancy": 100,
- "uniform_registers_used": 6,
+ "uniform_registers_used": 4,
"work_registers_used": 18
}
}
DONE