chromium/third_party/angle/src/tests/perf_tests/ProgramPipelineObjectPerfTest.cpp

//
// Copyright 2022 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.
//
// ProgramPipelineObjectPerfTest:
//   Performance tests switching program stages of a pipeline.
//

#include "ANGLEPerfTest.h"

#include <array>

#include "common/vector_utils.h"
#include "util/shader_utils.h"

usingnamespaceangle;

namespace
{

constexpr unsigned int kIterationsPerStep =;

struct ProgramPipelineObjectParams final : public RenderTestParams
{};

std::ostream &operator<<(std::ostream &os, const ProgramPipelineObjectParams &params)
{}

class ProgramPipelineObjectBenchmark
    : public ANGLERenderTest,
      public ::testing::WithParamInterface<ProgramPipelineObjectParams>
{};

ProgramPipelineObjectBenchmark::ProgramPipelineObjectBenchmark()
    :{}

void ProgramPipelineObjectBenchmark::initializeBenchmark()
{}

void ProgramPipelineObjectBenchmark::destroyBenchmark()
{}

void ProgramPipelineObjectBenchmark::drawBenchmark()
{}

usingnamespaceegl_platform;

ProgramPipelineObjectParams ProgramPipelineObjectVulkanParams()
{}

ProgramPipelineObjectParams ProgramPipelineObjectVulkanNullParams()
{}

// Test performance of switching programs before a draw.
TEST_P(ProgramPipelineObjectBenchmark, Run)
{}

ANGLE_INSTANTIATE_TEST();

}  // anonymous namespace