From 46f3192c67531ed6c7a07589fa3d31b3133d9578 Mon Sep 17 00:00:00 2001 From: Swung0x48 Date: Sun, 28 Jun 2026 12:57:09 +0800 Subject: [PATCH] [CI] add normal-world per-mod retrace fixtures --- .github/workflows/apk.yml | 165 ++++++++++++++++++ tools/trace_replay/CMakeLists.txt | 45 +++++ tools/trace_replay/README.md | 15 ++ ...eymap-in-world-normal-world.0005099482.png | 3 + ...abric-journeymap-in-world-normal-world.tgz | 3 + ...rnui-inventory-normal-world.0008585354.png | 3 + ...fabric-modernui-inventory-normal-world.tgz | 3 + ...-rei-inventory-normal-world.0006599207.png | 3 + ...21.4-fabric-rei-inventory-normal-world.tgz | 3 + ...nimap-in-world-normal-world.0003893975.png | 3 + ...ic-xaero-minimap-in-world-normal-world.tgz | 3 + ...d-map-in-world-normal-world.0002099794.png | 3 + ...-xaero-world-map-in-world-normal-world.tgz | 3 + 13 files changed, 255 insertions(+) create mode 100644 tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.0005099482.png create mode 100644 tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.tgz create mode 100644 tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.0008585354.png create mode 100644 tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.tgz create mode 100644 tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.0006599207.png create mode 100644 tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.tgz create mode 100644 tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.0003893975.png create mode 100644 tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.tgz create mode 100644 tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.0002099794.png create mode 100644 tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.tgz diff --git a/.github/workflows/apk.yml b/.github/workflows/apk.yml index c21e9da8..815217ea 100644 --- a/.github/workflows/apk.yml +++ b/.github/workflows/apk.yml @@ -303,6 +303,71 @@ jobs: crop_width: 0 crop_height: 0 timeout_seconds: 1800 + - name: minecraft-1.21.4-fabric-rei-inventory-normal-world + trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.tgz + trace_file: trace.trace + golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.0006599207.png + vulkan_only: true + target_call: 6599207 + width: 854 + height: 480 + crop_x: 0 + crop_y: 0 + crop_width: 0 + crop_height: 0 + timeout_seconds: 1800 + - name: minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world + trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.tgz + trace_file: trace.trace + golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.0003893975.png + vulkan_only: true + target_call: 3893975 + width: 854 + height: 480 + crop_x: 0 + crop_y: 0 + crop_width: 0 + crop_height: 0 + timeout_seconds: 1800 + - name: minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world + trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.tgz + trace_file: trace.trace + golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.0002099794.png + vulkan_only: true + target_call: 2099794 + width: 854 + height: 480 + crop_x: 0 + crop_y: 0 + crop_width: 0 + crop_height: 0 + timeout_seconds: 1800 + - name: minecraft-1.21.4-fabric-journeymap-in-world-normal-world + trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.tgz + trace_file: trace.trace + golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.0005099482.png + vulkan_only: true + target_call: 5099482 + width: 854 + height: 480 + crop_x: 0 + crop_y: 0 + crop_width: 0 + crop_height: 0 + timeout_seconds: 1800 + - name: minecraft-1.21.4-fabric-modernui-inventory-normal-world + trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.tgz + trace_file: trace.trace + golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.0008585354.png + vulkan_only: true + target_call: 8585354 + width: 854 + height: 480 + crop_x: 0 + crop_y: 0 + crop_width: 0 + crop_height: 0 + timeout_seconds: 1800 - name: minecraft-1.21.4-fabric-iris-bsl-in-world trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-iris-bsl-in-world.tgz trace_file: trace.trace @@ -626,6 +691,106 @@ jobs: crop_width: 0 crop_height: 0 timeout_seconds: 1800 + - backend: + name: DirectGLES + id: espryt + apk: MobileGL-EsprytTrace-release.apk + package: top.mobilegl.plugin.espryt.trace + gpu: software + case: + name: minecraft-1.21.4-fabric-rei-inventory-normal-world + trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.tgz + trace_file: trace.trace + golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.0006599207.png + vulkan_only: true + target_call: 6599207 + width: 854 + height: 480 + crop_x: 0 + crop_y: 0 + crop_width: 0 + crop_height: 0 + timeout_seconds: 1800 + - backend: + name: DirectGLES + id: espryt + apk: MobileGL-EsprytTrace-release.apk + package: top.mobilegl.plugin.espryt.trace + gpu: software + case: + name: minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world + trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.tgz + trace_file: trace.trace + golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.0003893975.png + vulkan_only: true + target_call: 3893975 + width: 854 + height: 480 + crop_x: 0 + crop_y: 0 + crop_width: 0 + crop_height: 0 + timeout_seconds: 1800 + - backend: + name: DirectGLES + id: espryt + apk: MobileGL-EsprytTrace-release.apk + package: top.mobilegl.plugin.espryt.trace + gpu: software + case: + name: minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world + trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.tgz + trace_file: trace.trace + golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.0002099794.png + vulkan_only: true + target_call: 2099794 + width: 854 + height: 480 + crop_x: 0 + crop_y: 0 + crop_width: 0 + crop_height: 0 + timeout_seconds: 1800 + - backend: + name: DirectGLES + id: espryt + apk: MobileGL-EsprytTrace-release.apk + package: top.mobilegl.plugin.espryt.trace + gpu: software + case: + name: minecraft-1.21.4-fabric-journeymap-in-world-normal-world + trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.tgz + trace_file: trace.trace + golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.0005099482.png + vulkan_only: true + target_call: 5099482 + width: 854 + height: 480 + crop_x: 0 + crop_y: 0 + crop_width: 0 + crop_height: 0 + timeout_seconds: 1800 + - backend: + name: DirectGLES + id: espryt + apk: MobileGL-EsprytTrace-release.apk + package: top.mobilegl.plugin.espryt.trace + gpu: software + case: + name: minecraft-1.21.4-fabric-modernui-inventory-normal-world + trace_archive: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.tgz + trace_file: trace.trace + golden: tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.0008585354.png + vulkan_only: true + target_call: 8585354 + width: 854 + height: 480 + crop_x: 0 + crop_y: 0 + crop_width: 0 + crop_height: 0 + timeout_seconds: 1800 steps: - name: Checkout repo diff --git a/tools/trace_replay/CMakeLists.txt b/tools/trace_replay/CMakeLists.txt index 7186c886..15d02fa2 100644 --- a/tools/trace_replay/CMakeLists.txt +++ b/tools/trace_replay/CMakeLists.txt @@ -451,6 +451,51 @@ add_trace_replay_test(minecraft-1.21.4-fabric-modernui-inventory DirectVulkan HEIGHT 480 ) +add_trace_replay_test(minecraft-1.21.4-fabric-rei-inventory-normal-world DirectVulkan + TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.tgz + TRACE_FILE trace.trace + GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.0006599207.png + TARGET_CALL 6599207 + WIDTH 854 + HEIGHT 480 +) + +add_trace_replay_test(minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world DirectVulkan + TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.tgz + TRACE_FILE trace.trace + GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.0003893975.png + TARGET_CALL 3893975 + WIDTH 854 + HEIGHT 480 +) + +add_trace_replay_test(minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world DirectVulkan + TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.tgz + TRACE_FILE trace.trace + GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.0002099794.png + TARGET_CALL 2099794 + WIDTH 854 + HEIGHT 480 +) + +add_trace_replay_test(minecraft-1.21.4-fabric-journeymap-in-world-normal-world DirectVulkan + TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.tgz + TRACE_FILE trace.trace + GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.0005099482.png + TARGET_CALL 5099482 + WIDTH 854 + HEIGHT 480 +) + +add_trace_replay_test(minecraft-1.21.4-fabric-modernui-inventory-normal-world DirectVulkan + TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.tgz + TRACE_FILE trace.trace + GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.0008585354.png + TARGET_CALL 8585354 + WIDTH 854 + HEIGHT 480 +) + add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-iris-bsl-in-world TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-iris-bsl-in-world.tgz TRACE_FILE trace.trace diff --git a/tools/trace_replay/README.md b/tools/trace_replay/README.md index 61f3bcf9..be533540 100644 --- a/tools/trace_replay/README.md +++ b/tools/trace_replay/README.md @@ -37,6 +37,21 @@ The bundled fixtures cover: - minecraft-1.21.4-fabric-modernui-inventory: captured from Minecraft 1.21.4 Fabric with Sodium, Iris, and Modern UI, with shader packs disabled and the creative inventory open. ![Minecraft 1.21.4 Fabric Modern UI inventory golden](fixtures/minecraft-1.21.4-fabric-modernui-inventory.0004907381.png) +- minecraft-1.21.4-fabric-rei-inventory-normal-world: captured from Minecraft 1.21.4 Fabric with Sodium, Iris, and + REI in a normal singleplayer world, with shader packs disabled and the creative inventory and REI item list open. + ![Minecraft 1.21.4 Fabric REI inventory normal-world golden](fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.0006599207.png) +- minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world: captured from Minecraft 1.21.4 Fabric with Sodium, + Iris, and Xaero's Minimap after entering a normal singleplayer world with shader packs disabled. + ![Minecraft 1.21.4 Fabric Xaero's Minimap normal-world golden](fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.0003893975.png) +- minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world: captured from Minecraft 1.21.4 Fabric with Sodium, + Iris, and Xaero's World Map in a normal singleplayer world, with shader packs disabled and the world map screen open. + ![Minecraft 1.21.4 Fabric Xaero's World Map normal-world golden](fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.0002099794.png) +- minecraft-1.21.4-fabric-journeymap-in-world-normal-world: captured from Minecraft 1.21.4 Fabric with Sodium, Iris, + and JourneyMap after entering a normal singleplayer world with shader packs disabled. + ![Minecraft 1.21.4 Fabric JourneyMap normal-world golden](fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.0005099482.png) +- minecraft-1.21.4-fabric-modernui-inventory-normal-world: captured from Minecraft 1.21.4 Fabric with Sodium, Iris, + and Modern UI in a normal singleplayer world, with shader packs disabled and the creative inventory open. + ![Minecraft 1.21.4 Fabric Modern UI inventory normal-world golden](fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.0008585354.png) - minecraft-1.21.4-fabric-iris-bsl-in-world: captured from Minecraft 1.21.4 Fabric with Sodium, Iris, and BSL Shaders after entering a singleplayer world. ![Minecraft 1.21.4 Fabric Iris BSL in-world golden](fixtures/minecraft-1.21.4-fabric-iris-bsl-in-world.0000110725.png) diff --git a/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.0005099482.png b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.0005099482.png new file mode 100644 index 00000000..93e6a9ba --- /dev/null +++ b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.0005099482.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab8e2eeb3f573a353b5bc1e23c916c6b3ddc6b8a08ae7e856b07d292db2e7506 +size 269228 diff --git a/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.tgz b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.tgz new file mode 100644 index 00000000..eb80c002 --- /dev/null +++ b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-journeymap-in-world-normal-world.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc39bd7926ec635180be5ad832bb8824ddc0c521564cce75ee5fefe0b89e244c +size 144445305 diff --git a/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.0008585354.png b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.0008585354.png new file mode 100644 index 00000000..3decc137 --- /dev/null +++ b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.0008585354.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11e05f5dd8e6443f7938aa76b8f8bfb13abcde42ad2918d0bbed63af96fc6fc4 +size 210394 diff --git a/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.tgz b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.tgz new file mode 100644 index 00000000..0e5949ba --- /dev/null +++ b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-modernui-inventory-normal-world.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c667fa90addf1910652620ce87b7b4691806ae5c5ab60a67140d2c958833bae1 +size 275119166 diff --git a/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.0006599207.png b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.0006599207.png new file mode 100644 index 00000000..d7fb3fe1 --- /dev/null +++ b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.0006599207.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c3c04ef79a56cbae642d6b871611af7f7c21fac432b1f2bdf57b544233274941 +size 198826 diff --git a/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.tgz b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.tgz new file mode 100644 index 00000000..747d7290 --- /dev/null +++ b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-rei-inventory-normal-world.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27344169348ed1507b8ac96262abb32da2d4fbf84255943286d59fe57b821f1b +size 167039798 diff --git a/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.0003893975.png b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.0003893975.png new file mode 100644 index 00000000..b8beb22e --- /dev/null +++ b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.0003893975.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40e08175a639a6341a63a4d4e4f398e9e164401514228cc6bd4777f0a64ecfe7 +size 233881 diff --git a/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.tgz b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.tgz new file mode 100644 index 00000000..53c7a399 --- /dev/null +++ b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-minimap-in-world-normal-world.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14ad80c13dfb54e223b3c758fc4ea19e96c6ebdca213d23efb293118dd66e2c1 +size 154704198 diff --git a/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.0002099794.png b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.0002099794.png new file mode 100644 index 00000000..57e1607a --- /dev/null +++ b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.0002099794.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:19297a97f8dbf371e83cec471143210585ec8b883214bc55d634ff21b97c7abb +size 118558 diff --git a/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.tgz b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.tgz new file mode 100644 index 00000000..3e418141 --- /dev/null +++ b/tools/trace_replay/fixtures/minecraft-1.21.4-fabric-xaero-world-map-in-world-normal-world.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14640ac0944bee609a352c55552756f861deb70b43b3961c763382dd6c20855f +size 41131109