Condense namespaces in tint/writer/glsl.

This PR condenses the namespaces in the tint/writer/glsl folder.

Change-Id: I527bcd7b73a32fa90f844b9cf2e1bfc038851404
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86025
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
This commit is contained in:
dan sinclair 2022-04-07 14:40:24 +00:00 committed by Dawn LUCI CQ
parent 6a5bef1912
commit 5d590591ef
36 changed files with 79 additions and 223 deletions

View File

@ -19,9 +19,7 @@
#include "src/tint/transform/glsl.h" #include "src/tint/transform/glsl.h"
#include "src/tint/writer/glsl/generator_impl.h" #include "src/tint/writer/glsl/generator_impl.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
Options::Options() = default; Options::Options() = default;
Options::~Options() = default; Options::~Options() = default;
@ -71,6 +69,4 @@ Result Generate(const Program* program,
return result; return result;
} }
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -28,16 +28,15 @@
#include "src/tint/writer/glsl/version.h" #include "src/tint/writer/glsl/version.h"
#include "src/tint/writer/text.h" #include "src/tint/writer/text.h"
// Forward declarations
namespace tint { namespace tint {
// Forward declarations
class Program; class Program;
namespace writer::glsl {
namespace writer {
namespace glsl {
// Forward declarations
class GeneratorImpl; class GeneratorImpl;
} // namespace writer::glsl
} // namespace tint
namespace tint::writer::glsl {
using BindingMap = std::unordered_map<sem::SamplerTexturePair, std::string>; using BindingMap = std::unordered_map<sem::SamplerTexturePair, std::string>;
@ -112,8 +111,6 @@ Result Generate(const Program* program,
const Options& options, const Options& options,
const std::string& entry_point); const std::string& entry_point);
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint
#endif // SRC_TINT_WRITER_GLSL_GENERATOR_H_ #endif // SRC_TINT_WRITER_GLSL_GENERATOR_H_

View File

@ -75,9 +75,7 @@ bool RequiresOESSampleVariables(tint::ast::Builtin builtin) {
} // namespace } // namespace
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
const char kTempNamePrefix[] = "tint_tmp"; const char kTempNamePrefix[] = "tint_tmp";
@ -2890,6 +2888,4 @@ sem::Type* GeneratorImpl::BoolTypeToUint(const sem::Type* type) {
} }
} }
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -38,18 +38,15 @@
#include "src/tint/writer/glsl/version.h" #include "src/tint/writer/glsl/version.h"
#include "src/tint/writer/text_generator.h" #include "src/tint/writer/text_generator.h"
namespace tint {
// Forward declarations // Forward declarations
namespace sem { namespace tint::sem {
class Call; class Call;
class Builtin; class Builtin;
class TypeConstructor; class TypeConstructor;
class TypeConversion; class TypeConversion;
} // namespace sem } // namespace tint::sem
namespace writer { namespace tint::writer::glsl {
namespace glsl {
/// Implementation class for GLSL generator /// Implementation class for GLSL generator
class GeneratorImpl : public TextGenerator { class GeneratorImpl : public TextGenerator {
@ -500,8 +497,6 @@ class GeneratorImpl : public TextGenerator {
Version version_; Version version_;
}; };
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint
#endif // SRC_TINT_WRITER_GLSL_GENERATOR_IMPL_H_ #endif // SRC_TINT_WRITER_GLSL_GENERATOR_IMPL_H_

View File

@ -14,9 +14,7 @@
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_Expression = TestHelper; using GlslGeneratorImplTest_Expression = TestHelper;
@ -34,6 +32,4 @@ TEST_F(GlslGeneratorImplTest_Expression, IndexAccessor) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -14,9 +14,7 @@
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_Assign = TestHelper; using GlslGeneratorImplTest_Assign = TestHelper;
@ -36,6 +34,4 @@ TEST_F(GlslGeneratorImplTest_Assign, Emit_Assign) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -16,9 +16,7 @@
#include "src/tint/ast/variable_decl_statement.h" #include "src/tint/ast/variable_decl_statement.h"
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_Binary = TestHelper; using GlslGeneratorImplTest_Binary = TestHelper;
@ -541,6 +539,4 @@ foo((tint_tmp), (tint_tmp_1), (tint_tmp_2));
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -14,9 +14,7 @@
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_Bitcast = TestHelper; using GlslGeneratorImplTest_Bitcast = TestHelper;
@ -55,6 +53,4 @@ TEST_F(GlslGeneratorImplTest_Bitcast, EmitExpression_Bitcast_Uint) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -14,9 +14,7 @@
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_Block = TestHelper; using GlslGeneratorImplTest_Block = TestHelper;
@ -37,6 +35,4 @@ TEST_F(GlslGeneratorImplTest_Block, Emit_Block) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -14,9 +14,7 @@
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_Break = TestHelper; using GlslGeneratorImplTest_Break = TestHelper;
@ -34,6 +32,4 @@ TEST_F(GlslGeneratorImplTest_Break, Emit_Break) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -18,9 +18,7 @@
#include "src/tint/sem/call.h" #include "src/tint/sem/call.h"
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using BuiltinType = sem::BuiltinType; using BuiltinType = sem::BuiltinType;
@ -877,6 +875,4 @@ void main() {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -18,9 +18,7 @@
#include "src/tint/ast/stage_attribute.h" #include "src/tint/ast/stage_attribute.h"
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using ::testing::HasSubstr; using ::testing::HasSubstr;
@ -299,6 +297,4 @@ INSTANTIATE_TEST_SUITE_P(
testing::ValuesIn(ast::builtin::test::TextureOverloadCase::ValidCases())); testing::ValuesIn(ast::builtin::test::TextureOverloadCase::ValidCases()));
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -15,9 +15,7 @@
#include "src/tint/ast/call_statement.h" #include "src/tint/ast/call_statement.h"
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_Call = TestHelper; using GlslGeneratorImplTest_Call = TestHelper;
@ -76,6 +74,4 @@ TEST_F(GlslGeneratorImplTest_Call, EmitStatement_Call) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -15,9 +15,7 @@
#include "src/tint/ast/fallthrough_statement.h" #include "src/tint/ast/fallthrough_statement.h"
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_Case = TestHelper; using GlslGeneratorImplTest_Case = TestHelper;
@ -103,6 +101,4 @@ TEST_F(GlslGeneratorImplTest_Case, Emit_Case_Default) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -14,9 +14,7 @@
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_Cast = TestHelper; using GlslGeneratorImplTest_Cast = TestHelper;
@ -44,6 +42,4 @@ TEST_F(GlslGeneratorImplTest_Cast, EmitExpression_Cast_Vector) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -15,9 +15,7 @@
#include "gmock/gmock.h" #include "gmock/gmock.h"
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using ::testing::HasSubstr; using ::testing::HasSubstr;
@ -235,6 +233,4 @@ TEST_F(GlslGeneratorImplTest_Constructor, EmitConstructor_Type_Struct_Empty) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -14,9 +14,7 @@
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_Continue = TestHelper; using GlslGeneratorImplTest_Continue = TestHelper;
@ -41,6 +39,4 @@ TEST_F(GlslGeneratorImplTest_Continue, Emit_Continue) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -14,9 +14,7 @@
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_Discard = TestHelper; using GlslGeneratorImplTest_Discard = TestHelper;
@ -34,6 +32,4 @@ TEST_F(GlslGeneratorImplTest_Discard, Emit_Discard) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -20,9 +20,7 @@
using ::testing::HasSubstr; using ::testing::HasSubstr;
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_Function = TestHelper; using GlslGeneratorImplTest_Function = TestHelper;
@ -984,6 +982,4 @@ void main_1() {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -14,9 +14,7 @@
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_Identifier = TestHelper; using GlslGeneratorImplTest_Identifier = TestHelper;
@ -35,6 +33,4 @@ TEST_F(GlslGeneratorImplTest_Identifier, EmitIdentifierExpression) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -14,9 +14,7 @@
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_If = TestHelper; using GlslGeneratorImplTest_If = TestHelper;
@ -130,6 +128,4 @@ TEST_F(GlslGeneratorImplTest_If, Emit_IfWithMultiple) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -14,9 +14,7 @@
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_Import = TestHelper; using GlslGeneratorImplTest_Import = TestHelper;
@ -276,6 +274,4 @@ TEST_F(GlslGeneratorImplTest_Import, GlslImportData_Determinant) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -15,9 +15,7 @@
#include "src/tint/ast/variable_decl_statement.h" #include "src/tint/ast/variable_decl_statement.h"
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_Loop = TestHelper; using GlslGeneratorImplTest_Loop = TestHelper;
@ -385,6 +383,4 @@ TEST_F(GlslGeneratorImplTest_Loop, Emit_ForLoopWithMultiStmtInitCondCont) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -16,9 +16,7 @@
#include "src/tint/ast/stage_attribute.h" #include "src/tint/ast/stage_attribute.h"
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using ::testing::HasSubstr; using ::testing::HasSubstr;
@ -879,6 +877,4 @@ TEST_F(GlslGeneratorImplTest_MemberAccessor, Swizzle_gbr) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -15,9 +15,7 @@
#include "src/tint/ast/id_attribute.h" #include "src/tint/ast/id_attribute.h"
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_ModuleConstant = TestHelper; using GlslGeneratorImplTest_ModuleConstant = TestHelper;
@ -87,6 +85,4 @@ const float b = WGSL_SPEC_CONSTANT_1;
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -14,9 +14,7 @@
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_Return = TestHelper; using GlslGeneratorImplTest_Return = TestHelper;
@ -46,6 +44,4 @@ TEST_F(GlslGeneratorImplTest_Return, Emit_ReturnWithValue) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -17,9 +17,7 @@
#include "src/tint/ast/variable_decl_statement.h" #include "src/tint/ast/variable_decl_statement.h"
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslSanitizerTest = TestHelper; using GlslSanitizerTest = TestHelper;
@ -328,6 +326,4 @@ void main() {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -17,9 +17,7 @@
using ::testing::HasSubstr; using ::testing::HasSubstr;
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_StorageBuffer = TestHelper; using GlslGeneratorImplTest_StorageBuffer = TestHelper;
@ -92,6 +90,4 @@ layout(binding = 0, std430) buffer Nephews_1 {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -14,9 +14,7 @@
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_Switch = TestHelper; using GlslGeneratorImplTest_Switch = TestHelper;
@ -59,6 +57,4 @@ TEST_F(GlslGeneratorImplTest_Switch, Emit_Switch) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -14,9 +14,7 @@
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest = TestHelper; using GlslGeneratorImplTest = TestHelper;
@ -95,6 +93,4 @@ int my_func() {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -22,9 +22,7 @@
#include "src/tint/sem/storage_texture_type.h" #include "src/tint/sem/storage_texture_type.h"
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using ::testing::HasSubstr; using ::testing::HasSubstr;
@ -537,6 +535,4 @@ INSTANTIATE_TEST_SUITE_P(
ast::TexelFormat::kRgba32Sint, "image1D tex;"})); ast::TexelFormat::kRgba32Sint, "image1D tex;"}));
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -14,9 +14,7 @@
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslUnaryOpTest = TestHelper; using GlslUnaryOpTest = TestHelper;
@ -88,6 +86,4 @@ TEST_F(GlslUnaryOpTest, Negation) {
EXPECT_EQ(out.str(), "-(expr)"); EXPECT_EQ(out.str(), "-(expr)");
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -17,9 +17,7 @@
using ::testing::HasSubstr; using ::testing::HasSubstr;
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using GlslGeneratorImplTest_UniformBuffer = TestHelper; using GlslGeneratorImplTest_UniformBuffer = TestHelper;
@ -67,6 +65,4 @@ layout(binding = 0, std140) uniform Simple_1 {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -16,9 +16,7 @@
#include "src/tint/ast/variable_decl_statement.h" #include "src/tint/ast/variable_decl_statement.h"
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using ::testing::HasSubstr; using ::testing::HasSubstr;
@ -124,6 +122,4 @@ TEST_F(GlslGeneratorImplTest_VariableDecl,
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -17,9 +17,7 @@
#include "src/tint/ast/stage_attribute.h" #include "src/tint/ast/stage_attribute.h"
#include "src/tint/writer/glsl/test_helper.h" #include "src/tint/writer/glsl/test_helper.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
namespace { namespace {
using ::testing::HasSubstr; using ::testing::HasSubstr;
@ -56,6 +54,4 @@ TEST_F(GlslGeneratorImplTest_WorkgroupVar, Aliased) {
} }
} // namespace } // namespace
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint

View File

@ -24,9 +24,7 @@
#include "src/tint/transform/manager.h" #include "src/tint/transform/manager.h"
#include "src/tint/writer/glsl/generator_impl.h" #include "src/tint/writer/glsl/generator_impl.h"
namespace tint { namespace tint::writer::glsl {
namespace writer {
namespace glsl {
/// Helper class for testing /// Helper class for testing
template <typename BODY> template <typename BODY>
@ -102,8 +100,6 @@ using TestHelper = TestHelperBase<testing::Test>;
template <typename T> template <typename T>
using TestParamHelper = TestHelperBase<testing::TestWithParam<T>>; using TestParamHelper = TestHelperBase<testing::TestWithParam<T>>;
} // namespace glsl } // namespace tint::writer::glsl
} // namespace writer
} // namespace tint
#endif // SRC_TINT_WRITER_GLSL_TEST_HELPER_H_ #endif // SRC_TINT_WRITER_GLSL_TEST_HELPER_H_