Edit

kc3-lang/angle/src/tests/angle_perftests.gni

Branch :

  • Show log

    Commit

  • Author : Shahbaz Youssefi
    Date : 2021-01-07 16:46:54
    Hash : 7cdda2dc
    Message : Vulkan: Add a perf test for pre-rotation code injection A test is added that dispatches a large number of vertex shaders, generating primitives that are all culled. The vertex shaders are simple so that code injected for pre-rotation would make up the majority of the shader code. Bug: angleproject:5478 Change-Id: I75092cb25e6427449251985f56e54f89813dec32 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2615821 Reviewed-by: Charlie Lao <cclao@google.com> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>

  • src/tests/angle_perftests.gni
  • # Copyright 2015 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_perf_tests_sources = [
      "perf_tests/BindingPerf.cpp",
      "perf_tests/BlitFramebufferPerf.cpp",
      "perf_tests/BufferSubData.cpp",
      "perf_tests/ClearPerf.cpp",
      "perf_tests/DispatchComputePerf.cpp",
      "perf_tests/DrawCallPerf.cpp",
      "perf_tests/DrawElementsPerf.cpp",
      "perf_tests/DynamicPromotionPerfTest.cpp",
      "perf_tests/EGLMakeCurrentPerf.cpp",
      "perf_tests/GenerateMipmapPerf.cpp",
      "perf_tests/IndexConversionPerf.cpp",
      "perf_tests/InstancingPerf.cpp",
      "perf_tests/InterleavedAttributeData.cpp",
      "perf_tests/LinkProgramPerfTest.cpp",
      "perf_tests/MultisampledRenderToTexturePerf.cpp",
      "perf_tests/MultiviewPerf.cpp",
      "perf_tests/PointSprites.cpp",
      "perf_tests/PreRotationPerf.cpp",
      "perf_tests/TextureSampling.cpp",
      "perf_tests/TextureUploadPerf.cpp",
      "perf_tests/TexturesPerf.cpp",
      "perf_tests/UniformsPerf.cpp",
      "perf_tests/VulkanBarriersPerf.cpp",
      "perf_tests/glmark2Benchmark.cpp",
      "test_utils/ANGLETest.cpp",
      "test_utils/ANGLETest.h",
      "test_utils/MultiviewTest.cpp",
      "test_utils/MultiviewTest.h",
      "test_utils/draw_call_perf_utils.cpp",
      "test_utils/draw_call_perf_utils.h",
    ]
    
    angle_white_box_perf_tests_sources = [
      "angle_unittests_utils.h",
      "perf_tests/BitSetIteratorPerf.cpp",
      "perf_tests/CompilerPerf.cpp",
      "perf_tests/EGLInitializePerf.cpp",  # Uses ANGLEGetDisplayPlatform, a
                                           # non-standard EP.
      "perf_tests/ResultPerf.cpp",
    ]
    
    if (is_win) {
      angle_white_box_perf_tests_sources +=
          [ "perf_tests/IndexDataManagerTest.cpp" ]
    }
    
    angle_white_box_perf_tests_vulkan_sources = [
      "perf_tests/VulkanCommandBufferPerf.cpp",
      "perf_tests/VulkanPipelineCachePerf.cpp",
      "test_utils/third_party/vulkan_command_buffer_utils.cpp",
      "test_utils/third_party/vulkan_command_buffer_utils.h",
    ]