#include "ANGLEPerfTest.h"
#include "libANGLE/renderer/vulkan/vk_cache_utils.h"
#include "libANGLE/renderer/vulkan/vk_helpers.h"
#include "libANGLE/renderer/vulkan/vk_renderer.h"
#include "util/random_utils.h"
usingnamespacerx;
namespace
{
constexpr unsigned int kIterationsPerStep = …;
struct Params
{ … };
class VulkanPipelineCachePerfTest : public ANGLEPerfTest,
public ::testing::WithParamInterface<Params>
{ … };
VulkanPipelineCachePerfTest::VulkanPipelineCachePerfTest()
: … { … }
VulkanPipelineCachePerfTest::~VulkanPipelineCachePerfTest()
{ … }
void VulkanPipelineCachePerfTest::SetUp()
{ … }
void VulkanPipelineCachePerfTest::randomizeDesc(vk::GraphicsPipelineDesc *desc)
{ … }
void VulkanPipelineCachePerfTest::step()
{ … }
}
TEST_P(VulkanPipelineCachePerfTest, Run)
{ … }
INSTANTIATE_TEST_SUITE_P(…);