mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-09 04:38:30 +09:00
[Feat] (trace-replay): add Minecraft Sodium in-world fixture
This commit is contained in:
@@ -305,7 +305,6 @@ function(add_trace_replay_test CASE_NAME BACKEND)
|
||||
if(NOT TRACE_CASE_FUZZ_PERCENT)
|
||||
set(TRACE_CASE_FUZZ_PERCENT 20)
|
||||
endif()
|
||||
|
||||
add_test(
|
||||
NAME MobileGLTraceReplay.${CASE_NAME}.${BACKEND}
|
||||
COMMAND "${CMAKE_COMMAND}"
|
||||
@@ -385,3 +384,13 @@ add_trace_replay_test_for_backends(minecraft-1.21.4-in-world
|
||||
HEIGHT 480
|
||||
TOLERANCE 500
|
||||
FUZZ_PERCENT 20)
|
||||
|
||||
add_trace_replay_test_for_backends(minecraft-1.21.4-fabric-sodium-in-world
|
||||
TRACE_ARCHIVE ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-sodium-in-world.tgz
|
||||
TRACE_FILE trace.trace
|
||||
GOLDEN ${MOBILEGL_TRACE_ROOT}/fixtures/minecraft-1.21.4-fabric-sodium-in-world.0000923340.png
|
||||
TARGET_CALL 923340
|
||||
WIDTH 854
|
||||
HEIGHT 480
|
||||
TOLERANCE 20
|
||||
FUZZ_PERCENT 20)
|
||||
|
||||
@@ -13,6 +13,9 @@ The bundled fixtures cover:
|
||||

|
||||
- minecraft-1.21.4-in-world: captured from Minecraft 1.21.4 after entering a singleplayer world.
|
||||

|
||||
- minecraft-1.21.4-fabric-sodium-in-world: captured from Minecraft 1.21.4 Fabric with Sodium after entering a
|
||||
singleplayer world with Fancy graphics.
|
||||

|
||||
|
||||
Build from the MobileGL repository root:
|
||||
|
||||
|
||||
BIN
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user