#include "src/tint/lang/core/type/depth_texture.h"
#include "src/tint/lang/core/type/multisampled_texture.h"
#include "src/tint/lang/core/type/sampled_texture.h"
#include "src/tint/lang/core/type/sampler.h"
#include "src/tint/lang/core/type/storage_texture.h"
#include "src/tint/lang/core/type/texture_dimension.h"
#include "src/tint/lang/glsl/writer/ast_printer/helper_test.h"
#include "src/tint/lang/wgsl/ast/call_statement.h"
#include "src/tint/lang/wgsl/ast/stage_attribute.h"
#include "src/tint/utils/text/string_stream.h"
#include "gmock/gmock.h"
HasSubstr;
usingnamespacetint::core::number_suffixes;
namespace tint::glsl::writer {
namespace {
GlslASTPrinterTest_Type;
TEST_F(GlslASTPrinterTest_Type, EmitType_Array) { … }
TEST_F(GlslASTPrinterTest_Type, EmitType_ArrayOfArray) { … }
TEST_F(GlslASTPrinterTest_Type, EmitType_ArrayOfArrayOfArray) { … }
TEST_F(GlslASTPrinterTest_Type, EmitType_Array_WithoutName) { … }
TEST_F(GlslASTPrinterTest_Type, EmitType_Bool) { … }
TEST_F(GlslASTPrinterTest_Type, EmitType_F32) { … }
TEST_F(GlslASTPrinterTest_Type, EmitType_F16) { … }
TEST_F(GlslASTPrinterTest_Type, EmitType_I32) { … }
TEST_F(GlslASTPrinterTest_Type, EmitType_Matrix_F32) { … }
TEST_F(GlslASTPrinterTest_Type, EmitType_Matrix_F16) { … }
TEST_F(GlslASTPrinterTest_Type, EmitType_StructDecl) { … }
TEST_F(GlslASTPrinterTest_Type, EmitType_Struct) { … }
TEST_F(GlslASTPrinterTest_Type, EmitType_Struct_NameCollision) { … }
TEST_F(GlslASTPrinterTest_Type, EmitType_Struct_WithOffsetAttributes) { … }
TEST_F(GlslASTPrinterTest_Type, EmitType_U32) { … }
TEST_F(GlslASTPrinterTest_Type, EmitType_Vector_F32) { … }
TEST_F(GlslASTPrinterTest_Type, EmitType_Vector_F16) { … }
TEST_F(GlslASTPrinterTest_Type, EmitType_Void) { … }
TEST_F(GlslASTPrinterTest_Type, EmitSampler) { … }
TEST_F(GlslASTPrinterTest_Type, EmitSamplerComparison) { … }
struct GlslDepthTextureData { … };
inline std::ostream& operator<<(std::ostream& out, GlslDepthTextureData data) { … }
GlslDepthTexturesTest;
TEST_P(GlslDepthTexturesTest, Emit) { … }
INSTANTIATE_TEST_SUITE_P(…);
GlslDepthMultisampledTexturesTest;
TEST_F(GlslDepthMultisampledTexturesTest, Emit) { … }
enum class TextureDataType { … };
struct GlslSampledTextureData { … };
inline std::ostream& operator<<(std::ostream& out, GlslSampledTextureData data) { … }
GlslSampledTexturesTest;
TEST_P(GlslSampledTexturesTest, Emit) { … }
INSTANTIATE_TEST_SUITE_P(…);
TEST_F(GlslASTPrinterTest_Type, EmitMultisampledTexture) { … }
struct GlslStorageTextureData { … };
inline std::ostream& operator<<(std::ostream& out, GlslStorageTextureData data) { … }
GlslStorageTexturesTest;
TEST_P(GlslStorageTexturesTest, Emit) { … }
INSTANTIATE_TEST_SUITE_P(…);
}
}