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

//
// Copyright 2019 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.
//
// VulkanBarriersPerf:
//   Performance tests for ANGLE's Vulkan backend w.r.t barrier efficiency.
//

#include <sstream>

#include "ANGLEPerfTest.h"
#include "test_utils/gl_raii.h"
#include "util/shader_utils.h"

usingnamespaceangle;

namespace
{
constexpr unsigned int kIterationsPerStep =;

struct VulkanBarriersPerfParams final : public RenderTestParams
{};

constexpr int VulkanBarriersPerfParams::kImageSizes[];

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

class VulkanBarriersPerfBenchmark : public ANGLERenderTest,
                                    public ::testing::WithParamInterface<VulkanBarriersPerfParams>
{};

std::string VulkanBarriersPerfParams::story() const
{}

VulkanBarriersPerfBenchmark::VulkanBarriersPerfBenchmark()
    :{}

constexpr char kVS[] =;

constexpr char kShortFS[] =;

constexpr char kSlowFS[] =;

void VulkanBarriersPerfBenchmark::createTexture(uint32_t textureIndex,
                                                uint32_t sizeIndex,
                                                bool compressed)
{}

void VulkanBarriersPerfBenchmark::createUniformBuffer()
{}

void VulkanBarriersPerfBenchmark::createFramebuffer(uint32_t fboIndex,
                                                    uint32_t textureIndex,
                                                    uint32_t sizeIndex)
{}

void VulkanBarriersPerfBenchmark::createResources()
{}

void VulkanBarriersPerfBenchmark::initializeBenchmark()
{}

void VulkanBarriersPerfBenchmark::destroyBenchmark() {}

void VulkanBarriersPerfBenchmark::drawBenchmark()
{}

}  // namespace

TEST_P(VulkanBarriersPerfBenchmark, Run)
{}

GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST();
ANGLE_INSTANTIATE_TEST();