зеркало из https://github.com/AvaloniaUI/angle.git
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:
Родитель
c3f1596293
Коммит
03b3bc3f6f
10
DEPS
10
DEPS
|
@ -1801,6 +1801,16 @@ deps = {
|
||||||
'dep_type': 'cipd',
|
'dep_type': 'cipd',
|
||||||
'condition': 'checkout_angle_restricted_traces',
|
'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': {
|
'src/tests/restricted_traces/standoff_2': {
|
||||||
'packages': [
|
'packages': [
|
||||||
{
|
{
|
||||||
|
|
|
@ -4,5 +4,5 @@
|
||||||
"src/tests/restricted_traces/gen_restricted_traces.py":
|
"src/tests/restricted_traces/gen_restricted_traces.py":
|
||||||
"7780405f8e0d92fa87a772dd64c62efb",
|
"7780405f8e0d92fa87a772dd64c62efb",
|
||||||
"src/tests/restricted_traces/restricted_traces.json":
|
"src/tests/restricted_traces/restricted_traces.json":
|
||||||
"ff125728ca8c236edb9587a5c437a4a2"
|
"b53ba5a4bd2e223206ca42aa96517cc5"
|
||||||
}
|
}
|
|
@ -547,6 +547,13 @@ constexpr SkippedSyncvalMessage kSkippedSyncvalMessages[] = {
|
||||||
"SYNC-HAZARD-WRITE_AFTER_READ",
|
"SYNC-HAZARD-WRITE_AFTER_READ",
|
||||||
"type: VK_DESCRIPTOR_TYPE_STORAGE_BUFFER",
|
"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
|
enum class DebugMessageReport
|
||||||
|
|
|
@ -1217,6 +1217,11 @@ TracePerfTest::TracePerfTest(const TracePerfParams ¶ms)
|
||||||
addExtensionPrerequisite("GL_KHR_texture_compression_astc_ldr");
|
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.surfaceType == SurfaceType::Window || gEnableAllTraceTests);
|
||||||
ASSERT(mParams.eglParameters.deviceType == EGL_PLATFORM_ANGLE_DEVICE_TYPE_HARDWARE_ANGLE ||
|
ASSERT(mParams.eglParameters.deviceType == EGL_PLATFORM_ANGLE_DEVICE_TYPE_HARDWARE_ANGLE ||
|
||||||
gEnableAllTraceTests);
|
gEnableAllTraceTests);
|
||||||
|
|
|
@ -123,6 +123,7 @@
|
||||||
"sniper_3d 5",
|
"sniper_3d 5",
|
||||||
"solar_smash 2",
|
"solar_smash 2",
|
||||||
"sonic_the_hedgehog 5",
|
"sonic_the_hedgehog 5",
|
||||||
|
"special_forces_group_2 1",
|
||||||
"standoff_2 5",
|
"standoff_2 5",
|
||||||
"state_of_survival 1",
|
"state_of_survival 1",
|
||||||
"subway_princess_runner 5",
|
"subway_princess_runner 5",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче