chromium/gpu/command_buffer/tests/lpm/gl_lpm_shader_to_string_unittest.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "gpu/command_buffer/tests/lpm/gl_lpm_shader_to_string.h"

#include <string>
#include <utility>

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/protobuf/src/google/protobuf/text_format.h"

class LpmShaderTest
    : public ::testing::TestWithParam<std::pair<std::string, std::string>> {};

TEST_P(LpmShaderTest, CheckTranslation) {}

static const char* kProtoAssignment =;

static const char* kShaderAssignment =;

static const char* kProtoLoop =;

static const char* kShaderLoop =;

static const char* kProtoTwoFunctions =;

static const char* kShaderTwoFunctions =;

static const char* kProtoDeclareFloat =;

static const char* kShaderDeclareFloat =;

static const char* kProtoIfElse =;

static const char* kShaderIfElse =;

static const char* kProtoConstInt32 =;

static const char* kShaderConstInt32 =;

// Uniform only applies at global scope
static const char* kProtoNoLocalUniform =;

static const char* kShaderNoLocalUniform =;

INSTANTIATE_TEST_SUITE_P();