#include "gmock/gmock.h"
#include "src/tint/lang/core/type/array.h"
#include "src/tint/lang/core/type/depth_multisampled_texture.h"
#include "src/tint/lang/core/type/depth_texture.h"
#include "src/tint/lang/core/type/matrix.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/storage_texture.h"
#include "src/tint/lang/core/type/struct.h"
#include "src/tint/lang/glsl/writer/helper_test.h"
#include "src/tint/utils/text/string.h"
namespace tint::glsl::writer {
namespace {
usingnamespacetint::core::fluent_types;
usingnamespacetint::core::number_suffixes;
TEST_F(GlslWriterTest, EmitType_Array) { … }
TEST_F(GlslWriterTest, EmitType_ArrayOfArray) { … }
TEST_F(GlslWriterTest, EmitType_ArrayOfArrayOfArray) { … }
TEST_F(GlslWriterTest, EmitType_Bool) { … }
TEST_F(GlslWriterTest, EmitType_F32) { … }
TEST_F(GlslWriterTest, EmitType_F16) { … }
TEST_F(GlslWriterTest, EmitType_I32) { … }
TEST_F(GlslWriterTest, EmitType_Matrix_F32) { … }
TEST_F(GlslWriterTest, EmitType_MatrixSquare_F32) { … }
TEST_F(GlslWriterTest, EmitType_Matrix_F16) { … }
TEST_F(GlslWriterTest, EmitType_U32) { … }
TEST_F(GlslWriterTest, DISABLED_EmitType_Atomic_U32) { … }
TEST_F(GlslWriterTest, DISABLED_EmitType_Atomic_I32) { … }
TEST_F(GlslWriterTest, EmitType_Vector_F32) { … }
TEST_F(GlslWriterTest, EmitType_Vector_F16) { … }
TEST_F(GlslWriterTest, EmitType_Vector_I32) { … }
TEST_F(GlslWriterTest, EmitType_Vector_U32) { … }
TEST_F(GlslWriterTest, EmitType_Vector_bool) { … }
TEST_F(GlslWriterTest, EmitType_Void) { … }
TEST_F(GlslWriterTest, EmitType_Struct) { … }
TEST_F(GlslWriterTest, EmitType_Struct_Dedup) { … }
TEST_F(GlslWriterTest, EmitType_Struct_Nested) { … }
TEST_F(GlslWriterTest, DISABLED_EmitType_Sampler) { … }
TEST_F(GlslWriterTest, DISABLED_EmitType_SamplerComparison) { … }
struct GlslDepthTextureData { … };
inline std::ostream& operator<<(std::ostream& out, GlslDepthTextureData data) { … }
GlslWriterDepthTexturesTest;
TEST_P(GlslWriterDepthTexturesTest, DISABLED_Emit) { … }
INSTANTIATE_TEST_SUITE_P(…);
TEST_F(GlslWriterTest, DISABLED_EmitType_DepthMultisampledTexture) { … }
enum class TextureDataType : uint8_t { … };
struct GlslTextureData { … };
inline std::ostream& operator<<(std::ostream& out, GlslTextureData data) { … }
GlslWriterSampledTexturesTest;
TEST_P(GlslWriterSampledTexturesTest, DISABLED_Emit) { … }
INSTANTIATE_TEST_SUITE_P(…);
TEST_F(GlslWriterTest, DISABLED_EmitType_MultisampledTexture) { … }
struct GlslStorageTextureData { … };
inline std::ostream& operator<<(std::ostream& out, GlslStorageTextureData data) { … }
GlslWriterStorageTexturesTest;
TEST_P(GlslWriterStorageTexturesTest, Emit) { … }
INSTANTIATE_TEST_SUITE_P(…);
}
}