#include <cstring>#include "flutter/testing/testing.h"#include "gtest/gtest.h"#include "impeller/base/validation.h"#include "impeller/compiler/compiler.h"#include "impeller/compiler/compiler_test.h"#include "impeller/compiler/source_options.h"#include "impeller/compiler/types.h"Go to the source code of this file.
Namespaces | |
| impeller | |
| impeller::compiler | |
| impeller::compiler::testing | |
Functions | |
| impeller::compiler::testing::INSTANTIATE_TEST_SUITE_P (CompilerSuite, CompilerTest, ::testing::Values(TargetPlatform::kOpenGLES, TargetPlatform::kOpenGLDesktop, TargetPlatform::kMetalDesktop, TargetPlatform::kMetalIOS, TargetPlatform::kVulkan), [](const ::testing::TestParamInfo< CompilerTest::ParamType > &info) { return TargetPlatformToString(info.param);}) | |
| impeller::compiler::testing::INSTANTIATE_TEST_SUITE_P (CompilerSuite, CompilerTestRuntime, ::testing::Values(TargetPlatform::kRuntimeStageMetal, TargetPlatform::kRuntimeStageGLES, TargetPlatform::kRuntimeStageGLES3, TargetPlatform::kRuntimeStageVulkan, TargetPlatform::kSkSL), [](const ::testing::TestParamInfo< CompilerTest::ParamType > &info) { return TargetPlatformToString(info.param);}) | |
| impeller::compiler::testing::INSTANTIATE_TEST_SUITE_P (CompilerSuite, CompilerTestSkSL, ::testing::Values(TargetPlatform::kSkSL), [](const ::testing::TestParamInfo< CompilerTest::ParamType > &info) { return TargetPlatformToString(info.param);}) | |
| impeller::compiler::testing::INSTANTIATE_TEST_SUITE_P (CompilerSuite, CompilerTestUnknownPlatform, ::testing::Values(TargetPlatform::kUnknown), [](const ::testing::TestParamInfo< CompilerTest::ParamType > &info) { return TargetPlatformToString(info.param);}) | |
| impeller::compiler::testing::TEST (CompilerTest, Defines) | |
| 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, 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 (CompilerTestRuntime, UniformsAppearInJson) | |
| impeller::compiler::testing::TEST_P (CompilerTestRuntime, PositionedUniformsAppearInJson) | |
| impeller::compiler::testing::TEST_P (CompilerTest, UniformsHaveBindingAndSet) | |
| impeller::compiler::testing::TEST_P (CompilerTestSkSL, SkSLTextureLookUpOrderOfOperations) | |
| impeller::compiler::testing::TEST_P (CompilerTestSkSL, CanCompileStructs) | |
| impeller::compiler::testing::TEST_P (CompilerTestSkSL, FailsToCompileDueToArrayInitializerWithConstants) | |
| impeller::compiler::testing::TEST_P (CompilerTestSkSL, FailsToCompileDueToArrayInitializerWithVariables) | |
| impeller::compiler::testing::TEST_P (CompilerTestSkSL, FailsToCompileDueToArrayAssignment) | |
| impeller::compiler::testing::TEST_P (CompilerTestSkSL, CompilesWithValidArrayInitialization) | |
| impeller::compiler::testing::TEST_P (CompilerTestRuntime, Mat2Reflection) | |
| impeller::compiler::testing::TEST_P (CompilerTestUnknownPlatform, MustFailDueToUnknownPlatform) | |
| uint32_t columns |
Definition at line 156 of file compiler_unittests.cc.
| uint32_t location |
Definition at line 154 of file compiler_unittests.cc.
Referenced by impeller::interop::ImpellerPathBuilderLineTo(), impeller::interop::ImpellerPathBuilderMoveTo(), IMPELLER_HPP_NAMESPACE::PathBuilder::LineTo(), impeller::interop::PathBuilder::LineTo(), IMPELLER_HPP_NAMESPACE::PathBuilder::MoveTo(), impeller::saturated::ONLY_ON_FLOAT(), and impeller::testing::TEST_P().
| std::string type_name |
Definition at line 155 of file compiler_unittests.cc.
| std::string uniform_name |
Definition at line 153 of file compiler_unittests.cc.
| uint32_t vec_size |
Definition at line 157 of file compiler_unittests.cc.