Commit da0a1ee9 by Cody Northrop Committed by Commit Bot

Tests: Add 3DMark Slingshot Test 2 trace

This trace is ES 3.0 based and shader heavy. Test: angle_perftests --gtest_filter="*slingshot_test2*" Tbr: jmadill@google.com,timvp@google.com Bug: b/185595371 Bug: angleproject:5877 Change-Id: I3d66a5f818b33581b4237e8a9efc56af5666d98b Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2832657Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com> Commit-Queue: Cody Northrop <cnorthrop@google.com>
parent fc136cf8
...@@ -1022,6 +1022,16 @@ deps = { ...@@ -1022,6 +1022,16 @@ deps = {
'dep_type': 'cipd', 'dep_type': 'cipd',
'condition': 'checkout_angle_restricted_traces', 'condition': 'checkout_angle_restricted_traces',
}, },
'src/tests/restricted_traces/slingshot_test2': {
'packages': [
{
'package': 'angle/traces/slingshot_test2',
'version': 'version:1',
},
],
'dep_type': 'cipd',
'condition': 'checkout_angle_restricted_traces',
},
'src/tests/restricted_traces/sniper_3d': { 'src/tests/restricted_traces/sniper_3d': {
'packages': [ 'packages': [
{ {
......
{ {
"src/tests/restricted_traces/.gitignore": "src/tests/restricted_traces/.gitignore":
"f962982feb82de1d649264364a6ba6cf", "bd3d5fc52de73d76502956cd18b74e3a",
"src/tests/restricted_traces/gen_restricted_traces.py": "src/tests/restricted_traces/gen_restricted_traces.py":
"f700505c2ba8299a6ce68962763d7f2d", "f700505c2ba8299a6ce68962763d7f2d",
"src/tests/restricted_traces/restricted_traces.json": "src/tests/restricted_traces/restricted_traces.json":
"3ba76703bf9a0c724877d084cafa2750", "9cc53f3713702dcaff5328b26c19638a",
"src/tests/restricted_traces/restricted_traces_autogen.cpp": "src/tests/restricted_traces/restricted_traces_autogen.cpp":
"1304c5fb9566a6df505839cfd5b5d0c8", "6b806747344062c37d7e499b88a32065",
"src/tests/restricted_traces/restricted_traces_autogen.gni": "src/tests/restricted_traces/restricted_traces_autogen.gni":
"fe91cb7b8b2bff5f89ffeb765a58f262", "a69264be2f2a4292c82b5e65cb744bd1",
"src/tests/restricted_traces/restricted_traces_autogen.h": "src/tests/restricted_traces/restricted_traces_autogen.h":
"e940a8ab011edc46b5b7a4df84fa1043" "df1c1747bb35fb8a3bb827c480a48e8a"
} }
\ No newline at end of file
...@@ -864,7 +864,8 @@ TracePerfTest::TracePerfTest() ...@@ -864,7 +864,8 @@ TracePerfTest::TracePerfTest()
} }
} }
if (param.testID == RestrictedTraceID::slingshot_test1) if (param.testID == RestrictedTraceID::slingshot_test1 ||
param.testID == RestrictedTraceID::slingshot_test2)
{ {
// TODO: http://anglebug.com/5877 Trace crashes on Pixel 2 in vulkan driver // TODO: http://anglebug.com/5877 Trace crashes on Pixel 2 in vulkan driver
if (IsPixel2() && param.getRenderer() == EGL_PLATFORM_ANGLE_TYPE_VULKAN_ANGLE) if (IsPixel2() && param.getRenderer() == EGL_PLATFORM_ANGLE_TYPE_VULKAN_ANGLE)
......
...@@ -61,6 +61,7 @@ rope_hero_vice_town/ ...@@ -61,6 +61,7 @@ rope_hero_vice_town/
saint_seiya_awakening/ saint_seiya_awakening/
shadow_fight_2/ shadow_fight_2/
slingshot_test1/ slingshot_test1/
slingshot_test2/
sniper_3d/ sniper_3d/
standoff_2/ standoff_2/
subway_surfers/ subway_surfers/
......
...@@ -71,6 +71,7 @@ ...@@ -71,6 +71,7 @@
"saint_seiya_awakening 1", "saint_seiya_awakening 1",
"shadow_fight_2 1", "shadow_fight_2 1",
"slingshot_test1 1", "slingshot_test1 1",
"slingshot_test2 1",
"sniper_3d 1", "sniper_3d 1",
"standoff_2 1", "standoff_2 1",
"subway_surfers 1", "subway_surfers 1",
......
...@@ -75,6 +75,7 @@ ...@@ -75,6 +75,7 @@
#include "saint_seiya_awakening/saint_seiya_awakening_capture_context1.h" #include "saint_seiya_awakening/saint_seiya_awakening_capture_context1.h"
#include "shadow_fight_2/shadow_fight_2_capture_context1.h" #include "shadow_fight_2/shadow_fight_2_capture_context1.h"
#include "slingshot_test1/slingshot_test1_capture_context2.h" #include "slingshot_test1/slingshot_test1_capture_context2.h"
#include "slingshot_test2/slingshot_test2_capture_context2.h"
#include "sniper_3d/sniper_3d_capture_context1.h" #include "sniper_3d/sniper_3d_capture_context1.h"
#include "standoff_2/standoff_2_capture_context1.h" #include "standoff_2/standoff_2_capture_context1.h"
#include "subway_surfers/subway_surfers_capture_context1.h" #include "subway_surfers/subway_surfers_capture_context1.h"
...@@ -401,6 +402,11 @@ constexpr angle::PackedEnumMap<RestrictedTraceID, TraceInfo> kTraceInfos = { ...@@ -401,6 +402,11 @@ constexpr angle::PackedEnumMap<RestrictedTraceID, TraceInfo> kTraceInfos = {
slingshot_test1::kReplayContextClientMinorVersion, slingshot_test1::kReplayFrameStart, slingshot_test1::kReplayContextClientMinorVersion, slingshot_test1::kReplayFrameStart,
slingshot_test1::kReplayFrameEnd, slingshot_test1::kReplayDrawSurfaceWidth, slingshot_test1::kReplayFrameEnd, slingshot_test1::kReplayDrawSurfaceWidth,
slingshot_test1::kReplayDrawSurfaceHeight, "slingshot_test1"}}, slingshot_test1::kReplayDrawSurfaceHeight, "slingshot_test1"}},
{RestrictedTraceID::slingshot_test2,
{slingshot_test2::kReplayContextClientMajorVersion,
slingshot_test2::kReplayContextClientMinorVersion, slingshot_test2::kReplayFrameStart,
slingshot_test2::kReplayFrameEnd, slingshot_test2::kReplayDrawSurfaceWidth,
slingshot_test2::kReplayDrawSurfaceHeight, "slingshot_test2"}},
{RestrictedTraceID::sniper_3d, {RestrictedTraceID::sniper_3d,
{sniper_3d::kReplayContextClientMajorVersion, sniper_3d::kReplayContextClientMinorVersion, {sniper_3d::kReplayContextClientMajorVersion, sniper_3d::kReplayContextClientMinorVersion,
sniper_3d::kReplayFrameStart, sniper_3d::kReplayFrameEnd, sniper_3d::kReplayDrawSurfaceWidth, sniper_3d::kReplayFrameStart, sniper_3d::kReplayFrameEnd, sniper_3d::kReplayDrawSurfaceWidth,
......
...@@ -3043,6 +3043,212 @@ angle_restricted_traces = [ ...@@ -3043,6 +3043,212 @@ angle_restricted_traces = [
], ],
], ],
[ [
"slingshot_test2",
2,
[
"slingshot_test2/slingshot_test2_capture_context2_frame001.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame002.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame003.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame004.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame005.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame006.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame007.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame008.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame009.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame010.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame011.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame012.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame013.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame014.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame015.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame016.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame017.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame018.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame019.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame020.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame021.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame022.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame023.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame024.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame025.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame026.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame027.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame028.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame029.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame030.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame031.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame032.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame033.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame034.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame035.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame036.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame037.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame038.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame039.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame040.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame041.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame042.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame043.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame044.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame045.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame046.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame047.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame048.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame049.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame050.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame051.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame052.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame053.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame054.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame055.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame056.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame057.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame058.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame059.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame060.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame061.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame062.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame063.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame064.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame065.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame066.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame067.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame068.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame069.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame070.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame071.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame072.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame073.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame074.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame075.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame076.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame077.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame078.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame079.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame080.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame081.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame082.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame083.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame084.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame085.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame086.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame087.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame088.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame089.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame090.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame091.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame092.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame093.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame094.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame095.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame096.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame097.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame098.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame099.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame100.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame101.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame102.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame103.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame104.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame105.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame106.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame107.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame108.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame109.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame110.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame111.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame112.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame113.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame114.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame115.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame116.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame117.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame118.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame119.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame120.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame121.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame122.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame123.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame124.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame125.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame126.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame127.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame128.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame129.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame130.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame131.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame132.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame133.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame134.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame135.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame136.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame137.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame138.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame139.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame140.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame141.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame142.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame143.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame144.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame145.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame146.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame147.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame148.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame149.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame150.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame151.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame152.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame153.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame154.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame155.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame156.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame157.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame158.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame159.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame160.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame161.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame162.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame163.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame164.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame165.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame166.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame167.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame168.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame169.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame170.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame171.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame172.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame173.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame174.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame175.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame176.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame177.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame178.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame179.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame180.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame181.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame182.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame183.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame184.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame185.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame186.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame187.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame188.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame189.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame190.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame191.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame192.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame193.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame194.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame195.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame196.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame197.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame198.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame199.cpp",
"slingshot_test2/slingshot_test2_capture_context2_frame200.cpp",
],
],
[
"sniper_3d", "sniper_3d",
1, 1,
[ [
......
...@@ -117,6 +117,7 @@ enum class RestrictedTraceID ...@@ -117,6 +117,7 @@ enum class RestrictedTraceID
saint_seiya_awakening, saint_seiya_awakening,
shadow_fight_2, shadow_fight_2,
slingshot_test1, slingshot_test1,
slingshot_test2,
sniper_3d, sniper_3d,
standoff_2, standoff_2,
subway_surfers, subway_surfers,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment