Tests: Add Honkai: Star Rail trace
Test: angle_trace_tests --gtest_filter="*honkai_star_rail*"
Bug: b/283129009
Change-Id: I4c41345b83b7ea2429bccb8a814994bcb13a7486
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4545308
Commit-Queue: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Yuxin Hu <yuxinhu@google.com>
diff --git a/DEPS b/DEPS
index 267c1a2..09e00bd 100644
--- a/DEPS
+++ b/DEPS
@@ -1759,6 +1759,16 @@
'dep_type': 'cipd',
'condition': 'checkout_angle_restricted_traces',
},
+ 'src/tests/restricted_traces/honkai_star_rail': {
+ 'packages': [
+ {
+ 'package': 'angle/traces/honkai_star_rail',
+ 'version': 'version:1',
+ },
+ ],
+ 'dep_type': 'cipd',
+ 'condition': 'checkout_angle_restricted_traces',
+ },
'src/tests/restricted_traces/hungry_shark_evolution': {
'packages': [
{
diff --git a/scripts/code_generation_hashes/restricted_traces.json b/scripts/code_generation_hashes/restricted_traces.json
index f919193..69c8627 100644
--- a/scripts/code_generation_hashes/restricted_traces.json
+++ b/scripts/code_generation_hashes/restricted_traces.json
@@ -4,5 +4,5 @@
"src/tests/restricted_traces/gen_restricted_traces.py":
"e2fdeb9840527e3d0dc959a67bafdd0e",
"src/tests/restricted_traces/restricted_traces.json":
- "f3c689b677391376d0913aecaa6673e7"
+ "b2364fee587323a0285df652a3fa132f"
}
\ No newline at end of file
diff --git a/src/tests/perf_tests/TracePerfTest.cpp b/src/tests/perf_tests/TracePerfTest.cpp
index 4b1bb58..c6d2a57 100644
--- a/src/tests/perf_tests/TracePerfTest.cpp
+++ b/src/tests/perf_tests/TracePerfTest.cpp
@@ -1593,6 +1593,11 @@
}
}
+ if (traceNameIs("honkai_star_rail"))
+ {
+ addExtensionPrerequisite("GL_KHR_texture_compression_astc_ldr");
+ }
+
// glDebugMessageControlKHR and glDebugMessageCallbackKHR crash on ARM GLES1.
if (IsARM() && mParams->traceInfo.contextClientMajorVersion == 1)
{
diff --git a/src/tests/restricted_traces/restricted_traces.json b/src/tests/restricted_traces/restricted_traces.json
index fa43f6a..117febd 100644
--- a/src/tests/restricted_traces/restricted_traces.json
+++ b/src/tests/restricted_traces/restricted_traces.json
@@ -106,6 +106,7 @@
"higgs_domino_island 5",
"hill_climb_racing 5",
"homescapes 5",
+ "honkai_star_rail 1",
"hungry_shark_evolution 1",
"idle_heroes 5",
"into_the_dead_2 1",