Tests: Add Special Forces Group 2 trace.

Ignore a SYNC-HAZARD-WRITE_AFTER_READ VVL error in RendererVk.
Add GL_EXT_texture_buffer prerequisite.

Test: angle_perftests --gtest_filter="*special_forces_group_2*"
Bug: angleproject:5592
Change-Id: I63350a0bdbdffbc6951fd650753d900b5ff0bade
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3578764
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Commit-Queue: Cody Northrop <cnorthrop@google.com>
This commit is contained in:
Lubosz Sarnecki 2022-04-08 13:36:50 +02:00 коммит произвёл Angle LUCI CQ
Родитель c3f1596293
Коммит 03b3bc3f6f
5 изменённых файлов: 24 добавлений и 1 удалений

10
DEPS
Просмотреть файл

@ -1801,6 +1801,16 @@ deps = {
'dep_type': 'cipd',
'condition': 'checkout_angle_restricted_traces',
},
'src/tests/restricted_traces/special_forces_group_2': {
'packages': [
{
'package': 'angle/traces/special_forces_group_2',
'version': 'version:1',
},
],
'dep_type': 'cipd',
'condition': 'checkout_angle_restricted_traces',
},
'src/tests/restricted_traces/standoff_2': {
'packages': [
{

Просмотреть файл

@ -4,5 +4,5 @@
"src/tests/restricted_traces/gen_restricted_traces.py":
"7780405f8e0d92fa87a772dd64c62efb",
"src/tests/restricted_traces/restricted_traces.json":
"ff125728ca8c236edb9587a5c437a4a2"
"b53ba5a4bd2e223206ca42aa96517cc5"
}

Просмотреть файл

@ -547,6 +547,13 @@ constexpr SkippedSyncvalMessage kSkippedSyncvalMessages[] = {
"SYNC-HAZARD-WRITE_AFTER_READ",
"type: VK_DESCRIPTOR_TYPE_STORAGE_BUFFER",
},
// From: TracePerfTest.Run/vulkan_special_forces_group_2 http://anglebug.com/5592
{
"SYNC-HAZARD-WRITE_AFTER_READ",
"Access info (usage: SYNC_IMAGE_LAYOUT_TRANSITION, prior_usage: "
"SYNC_FRAGMENT_SHADER_SHADER_STORAGE_READ, read_barriers: "
"VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT, command: vkCmdDrawIndexed",
},
};
enum class DebugMessageReport

Просмотреть файл

@ -1217,6 +1217,11 @@ TracePerfTest::TracePerfTest(const TracePerfParams &params)
addExtensionPrerequisite("GL_KHR_texture_compression_astc_ldr");
}
if (traceNameIs("special_forces_group_2"))
{
addExtensionPrerequisite("GL_EXT_texture_buffer");
}
ASSERT(mParams.surfaceType == SurfaceType::Window || gEnableAllTraceTests);
ASSERT(mParams.eglParameters.deviceType == EGL_PLATFORM_ANGLE_DEVICE_TYPE_HARDWARE_ANGLE ||
gEnableAllTraceTests);

Просмотреть файл

@ -123,6 +123,7 @@
"sniper_3d 5",
"solar_smash 2",
"sonic_the_hedgehog 5",
"special_forces_group_2 1",
"standoff_2 5",
"state_of_survival 1",
"subway_princess_runner 5",