Skip to content

Commit

Permalink
Tests: Add Passmark benchmark Simple trace
Browse files Browse the repository at this point in the history
Add trace of the 'Simple' benchmark case of the Passmark
performance test suite.

Test: angle_trace_tests --gtest_filter=*passmark_simple*
Bug: b/362784518
Change-Id: I387efb5cc0d7b1ee8c731f2fdedc56806701169c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5824181
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
  • Loading branch information
mark-lunarg authored and Angle LUCI CQ committed Aug 29, 2024
1 parent fffd48d commit c3309db
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
11 changes: 11 additions & 0 deletions DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ vars = {
'checkout_angle_restricted_trace_one_piece_treasure_cruise': 'checkout_angle_restricted_traces',
'checkout_angle_restricted_trace_one_punch_man': 'checkout_angle_restricted_traces',
'checkout_angle_restricted_trace_oxenfree': 'checkout_angle_restricted_traces',
'checkout_angle_restricted_trace_passmark_simple': 'checkout_angle_restricted_traces',
'checkout_angle_restricted_trace_piano_kids': 'checkout_angle_restricted_traces',
'checkout_angle_restricted_trace_plague_inc': 'checkout_angle_restricted_traces',
'checkout_angle_restricted_trace_plants_vs_zombies_2': 'checkout_angle_restricted_traces',
Expand Down Expand Up @@ -2800,6 +2801,16 @@ deps = {
'dep_type': 'cipd',
'condition': 'checkout_angle_restricted_trace_oxenfree',
},
'src/tests/restricted_traces/passmark_simple': {
'packages': [
{
'package': 'angle/traces/passmark_simple',
'version': 'version:1',
},
],
'dep_type': 'cipd',
'condition': 'checkout_angle_restricted_trace_passmark_simple',
},
'src/tests/restricted_traces/piano_kids': {
'packages': [
{
Expand Down
2 changes: 1 addition & 1 deletion scripts/code_generation_hashes/restricted_traces.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"src/tests/restricted_traces/gen_restricted_traces.py":
"79978de70c2597f249241ed864562149",
"src/tests/restricted_traces/restricted_traces.json":
"02cf40fd7e5b03bc6abe65bac440acc9"
"e8aefaccce9ed3315bf3a8a0c592ecb6"
}
9 changes: 9 additions & 0 deletions src/tests/perf_tests/TracePerfTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1805,6 +1805,15 @@ TracePerfTest::TracePerfTest(std::unique_ptr<const TracePerfParams> params)
addIntegerPrerequisite(GL_MAX_TEXTURE_SIZE, 11016);
}

if (traceNameIs("passmark_simple"))
{
if (isIntelLinuxNative)
{
skipTest("https://anglebug.com/42267118 fails on newer OS/driver");
}
addExtensionPrerequisite("GL_OES_framebuffer_object");
}

if (IsGalaxyS22())
{
if (traceNameIs("cod_mobile") || traceNameIs("dota_underlords") ||
Expand Down
1 change: 1 addition & 0 deletions src/tests/restricted_traces/restricted_traces.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@
"one_piece_treasure_cruise 1",
"one_punch_man 5",
"oxenfree 1",
"passmark_simple 1",
"piano_kids 1",
"plague_inc 1",
"plants_vs_zombies_2 5",
Expand Down

0 comments on commit c3309db

Please sign in to comment.