Changes found in shader flutter/impeller/entity/framebuffer_blend.frag.vkspv on core Mali-G78:
longest_path_cycles in variant Main
arith_total arith_fma arith_cvt arith_sfu load_store varying texture bound
before 0.781250 0.781250 0.625000 0.625000 0.000000 0.250000 1.250000 texture
after 0.781250 0.781250 0.437500 0.562500 0.000000 0.250000 1.250000 texture
shortest_path_cycles in variant Main
arith_total arith_fma arith_cvt arith_sfu load_store varying texture bound
before 0.625000 0.593750 0.421875 0.625000 0.000000 0.250000 0.000000 arith_total,arith_sfu
after 0.593750 0.593750 0.312500 0.562500 0.000000 0.250000 0.250000 arith_total,arith_fma
total_cycles in variant Main
arith_total arith_fma arith_cvt arith_sfu load_store varying texture bound
before 0.781250 0.781250 0.625000 0.625000 0.000000 0.250000 1.250000 texture
after 0.781250 0.781250 0.437500 0.562500 0.000000 0.250000 1.250000 texture
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/framebuffer_blend.frag.vkspv
Changes found in shader flutter/impeller/entity/gles/framebuffer_blend.frag.gles on core Mali-G78:
longest_path_cycles in variant Main
arith_total arith_fma arith_cvt arith_sfu load_store varying texture bound
before 0.531250 0.531250 0.406250 0.187500 0.000000 0.250000 0.250000 arith_total,arith_fma
after 0.531250 0.531250 0.218750 0.125000 0.000000 0.250000 0.250000 arith_total,arith_fma
shortest_path_cycles in variant Main
arith_total arith_fma arith_cvt arith_sfu load_store varying texture bound
before 0.531250 0.531250 0.296875 0.187500 0.000000 0.250000 0.000000 arith_total,arith_fma
after 0.531250 0.531250 0.187500 0.125000 0.000000 0.250000 0.250000 arith_total,arith_fma
total_cycles in variant Main
arith_total arith_fma arith_cvt arith_sfu load_store varying texture bound
before 0.531250 0.531250 0.406250 0.187500 0.000000 0.250000 0.250000 arith_total,arith_fma
after 0.531250 0.531250 0.218750 0.125000 0.000000 0.250000 0.250000 arith_total,arith_fma
In variant Main:
work_registers_used: 21 <- before
work_registers_used: 25 <- 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/gles/framebuffer_blend.frag.gles
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
+++
@@ -1729,8 +1729,8 @@
"longest_path_cycles": [
0.78125,
0.78125,
- 0.625,
- 0.625,
+ 0.4375,
+ 0.5625,
0.0,
0.25,
1.25
@@ -1746,16 +1746,16 @@
],
"shortest_path_bound_pipelines": [
"arith_total",
- "arith_sfu"
- ],
- "shortest_path_cycles": [
- 0.625,
+ "arith_fma"
+ ],
+ "shortest_path_cycles": [
0.59375,
- 0.421875,
- 0.625,
- 0.0,
- 0.25,
- 0.0
+ 0.59375,
+ 0.3125,
+ 0.5625,
+ 0.0,
+ 0.25,
+ 0.25
],
"total_bound_pipelines": [
"texture"
@@ -1763,8 +1763,8 @@
"total_cycles": [
0.78125,
0.78125,
- 0.625,
- 0.625,
+ 0.4375,
+ 0.5625,
0.0,
0.25,
1.25
@@ -4520,8 +4520,8 @@
"longest_path_cycles": [
0.53125,
0.53125,
- 0.40625,
- 0.1875,
+ 0.21875,
+ 0.125,
0.0,
0.25,
0.25
@@ -4542,11 +4542,11 @@
"shortest_path_cycles": [
0.53125,
0.53125,
- 0.296875,
0.1875,
- 0.0,
- 0.25,
- 0.0
+ 0.125,
+ 0.0,
+ 0.25,
+ 0.25
],
"total_bound_pipelines": [
"arith_total",
@@ -4555,8 +4555,8 @@
"total_cycles": [
0.53125,
0.53125,
- 0.40625,
- 0.1875,
+ 0.21875,
+ 0.125,
0.0,
0.25,
0.25
@@ -4565,7 +4565,7 @@
"stack_spill_bytes": 0,
"thread_occupancy": 100,
"uniform_registers_used": 6,
- "work_registers_used": 21
+ "work_registers_used": 25
}
}
}
DONE