Flutter Impeller
compiler_unittests.cc File Reference

Go to the source code of this file.

Namespaces

 impeller
 
 impeller::compiler
 
 impeller::compiler::testing
 

Macros

#define INSTANTIATE_TARGET_PLATFORM_TEST_SUITE_P(suite_name)
 

Functions

 impeller::compiler::testing::TEST (CompilerTest, ShaderKindMatchingIsSuccessful)
 
 impeller::compiler::testing::TEST_P (CompilerTest, CanCompile)
 
 impeller::compiler::testing::TEST_P (CompilerTest, CanCompileHLSL)
 
 impeller::compiler::testing::TEST_P (CompilerTest, CanCompileHLSLWithMultipleStages)
 
 impeller::compiler::testing::TEST_P (CompilerTest, CanCompileTessellationControlShader)
 
 impeller::compiler::testing::TEST_P (CompilerTest, CanCompileTessellationEvaluationShader)
 
 impeller::compiler::testing::TEST_P (CompilerTest, CanCompileComputeShader)
 
 impeller::compiler::testing::TEST_P (CompilerTest, MustFailDueToExceedingResourcesLimit)
 
 impeller::compiler::testing::TEST_P (CompilerTest, MustFailDueToMultipleLocationPerStructMember)
 
 impeller::compiler::testing::TEST_P (CompilerTest, BindingBaseForFragShader)
 
 impeller::compiler::testing::TEST_P (CompilerTest, UniformsHaveBindingAndSet)
 
 impeller::compiler::testing::INSTANTIATE_TARGET_PLATFORM_TEST_SUITE_P (CompilerSuite)
 

Macro Definition Documentation

◆ INSTANTIATE_TARGET_PLATFORM_TEST_SUITE_P

#define INSTANTIATE_TARGET_PLATFORM_TEST_SUITE_P (   suite_name)
Value:
INSTANTIATE_TEST_SUITE_P( \
suite_name, CompilerTest, \
::testing::Values( \
TargetPlatform::kOpenGLES, TargetPlatform::kOpenGLDesktop, \
TargetPlatform::kMetalDesktop, TargetPlatform::kMetalIOS), \
[](const ::testing::TestParamInfo<CompilerTest::ParamType>& info) { \
return TargetPlatformToString(info.param); \
});

Definition at line 126 of file compiler_unittests.cc.

impeller::compiler::TargetPlatformToString
std::string TargetPlatformToString(TargetPlatform platform)
Definition: types.cc:53