зеркало из https://github.com/AvaloniaUI/angle.git
Tests: Add Diablo Immortal trace
Test: angle_trace_tests --gtest_filter="*diablo_immortal*" Bug: angleproject:7402 Bug: angleproject:7837 Change-Id: I7c7ccc0099707714213564740f58f04f7965a275 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4041134 Reviewed-by: Roman Lavrov <romanl@google.com> Commit-Queue: Cody Northrop <cnorthrop@google.com>
This commit is contained in:
Родитель
6458178eae
Коммит
71ead7b41c
10
DEPS
10
DEPS
|
@ -1200,6 +1200,16 @@ deps = {
|
|||
'dep_type': 'cipd',
|
||||
'condition': 'checkout_angle_restricted_traces',
|
||||
},
|
||||
'src/tests/restricted_traces/diablo_immortal': {
|
||||
'packages': [
|
||||
{
|
||||
'package': 'angle/traces/diablo_immortal',
|
||||
'version': 'version:2',
|
||||
},
|
||||
],
|
||||
'dep_type': 'cipd',
|
||||
'condition': 'checkout_angle_restricted_traces',
|
||||
},
|
||||
'src/tests/restricted_traces/disney_tsum_tsum': {
|
||||
'packages': [
|
||||
{
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
"src/tests/restricted_traces/gen_restricted_traces.py":
|
||||
"e2fdeb9840527e3d0dc959a67bafdd0e",
|
||||
"src/tests/restricted_traces/restricted_traces.json":
|
||||
"7a8301d80a92c8261c5075ca07eb8b55"
|
||||
"30652d0979e212ceb29dbef38fafb0d9"
|
||||
}
|
|
@ -519,6 +519,20 @@ constexpr vk::SkippedSyncvalMessage kSkippedSyncvalMessages[] = {
|
|||
"usage: SYNC_FRAGMENT_SHADER_SHADER_STORAGE_READ, "
|
||||
"prior_usage: SYNC_LATE_FRAGMENT_TESTS_DEPTH_STENCIL_ATTACHMENT_WRITE, "
|
||||
"write_barriers: 0, command: vkCmdEndRenderPass"},
|
||||
// From: TraceTest.diablo_immortal http://anglebug.com/7837
|
||||
{"SYNC-HAZARD-WRITE-AFTER-WRITE", "vkCmdDrawIndexed: Hazard WRITE_AFTER_WRITE for VkImageView ",
|
||||
"Subpass #0, and pColorAttachments #0. Access info (usage: "
|
||||
"SYNC_COLOR_ATTACHMENT_OUTPUT_COLOR_ATTACHMENT_WRITE, prior_usage: "
|
||||
"SYNC_IMAGE_LAYOUT_TRANSITION, write_barriers: 0, command: vkCmdEndRenderPass"},
|
||||
// From: TraceTest.diablo_immortal http://anglebug.com/7837
|
||||
{"SYNC-HAZARD-WRITE-AFTER-READ",
|
||||
"vkCmdBeginRenderPass: Hazard WRITE_AFTER_READ in subpass 0 for attachment 1 aspect depth "
|
||||
"during load with loadOp VK_ATTACHMENT_LOAD_OP_DONT_CARE. Access info (usage: "
|
||||
"SYNC_EARLY_FRAGMENT_TESTS_DEPTH_STENCIL_ATTACHMENT_WRITE, prior_usage: "
|
||||
"SYNC_FRAGMENT_SHADER_SHADER_STORAGE_READ, read_barriers: "
|
||||
"VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT|VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT|VK_"
|
||||
"PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT|VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT, "
|
||||
"command: vkCmdDraw"},
|
||||
};
|
||||
|
||||
// Messages that shouldn't be generated if storeOp=NONE is supported, otherwise they are expected.
|
||||
|
|
|
@ -1450,6 +1450,11 @@ TracePerfTest::TracePerfTest(std::unique_ptr<const TracePerfParams> params)
|
|||
addIntegerPrerequisite(GL_MAX_TEXTURE_UNITS, 4);
|
||||
}
|
||||
|
||||
if (traceNameIs("diablo_immortal"))
|
||||
{
|
||||
addExtensionPrerequisite("GL_EXT_shader_framebuffer_fetch");
|
||||
}
|
||||
|
||||
// glDebugMessageControlKHR and glDebugMessageCallbackKHR crash on ARM GLES1.
|
||||
if (IsARM() && mParams->traceInfo.contextClientMajorVersion == 1)
|
||||
{
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
"dead_by_daylight 2",
|
||||
"dead_cells 1",
|
||||
"dead_trigger_2 1",
|
||||
"diablo_immortal 2",
|
||||
"disney_tsum_tsum 5",
|
||||
"dota_underlords 5",
|
||||
"dr_driving 5",
|
||||
|
|
Загрузка…
Ссылка в новой задаче