Hash :
a956162c
Author :
Date :
2022-03-01T13:05:29
Vulkan: Expose performance counters via extension. This CL rewrites the Vulkan perf counters test to work in the angle_end2end_test suite using the newly exposed AMD extension. Note that we implement only a subset of the extension. Instead of generating monitors and starting/stopping them we simply read back all performance counter data at once using the special montior value "0". The CL also enables these tests on SwiftShader. Bug: angleproject:4918 Change-Id: I5d8f6eecb1ccff448657cbdb65b51a225dfb90c0 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3497538 Reviewed-by: Charlie Lao <cclao@google.com> Reviewed-by: Yuxin Hu <yuxinhu@google.com> Commit-Queue: Jamie Madill <jmadill@chromium.org>
# Copyright 2014 The ANGLE Project Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
angle_white_box_tests_sources = [
"egl_tests/EGLFeatureControlTest.cpp",
"gl_tests/FormatPrintTest.cpp",
"test_utils/ANGLETest.cpp",
"test_utils/ANGLETest.h",
"util_tests/PrintSystemInfoTest.cpp",
]
angle_white_box_tests_win_sources = [
"egl_tests/EGLDirectCompositionTest.cpp",
"gl_tests/D3D11EmulatedIndexedBufferTest.cpp",
"gl_tests/D3D11FormatTablesTest.cpp",
"gl_tests/D3D11InputLayoutCacheTest.cpp",
"gl_tests/D3DTextureTest.cpp",
"gl_tests/ErrorMessages.cpp",
]
angle_white_box_tests_vulkan_sources = [
"gl_tests/VulkanDescriptorSetTest.cpp",
"gl_tests/VulkanFormatTablesTest.cpp",
"gl_tests/VulkanFramebufferTest.cpp",
"gl_tests/VulkanMultithreadingTest.cpp",
"gl_tests/VulkanUniformUpdatesTest.cpp",
]