#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/variable_decl_statement.h"
#include "src/tint/utils/text/string_stream.h"
#include "gmock/gmock.h"
namespace tint::glsl::writer {
namespace {
usingnamespacetint::core::fluent_types;
usingnamespacetint::core::number_suffixes;
GlslASTPrinterTest_Binary;
struct BinaryData { … };
inline std::ostream& operator<<(std::ostream& out, BinaryData data) { … }
GlslBinaryTest;
TEST_P(GlslBinaryTest, Emit_f32) { … }
TEST_P(GlslBinaryTest, Emit_f16) { … }
TEST_P(GlslBinaryTest, Emit_u32) { … }
TEST_P(GlslBinaryTest, Emit_i32) { … }
INSTANTIATE_TEST_SUITE_P(…);
TEST_F(GlslASTPrinterTest_Binary, Multiply_VectorScalar_f32) { … }
TEST_F(GlslASTPrinterTest_Binary, Multiply_VectorScalar_f16) { … }
TEST_F(GlslASTPrinterTest_Binary, Multiply_ScalarVector_f32) { … }
TEST_F(GlslASTPrinterTest_Binary, Multiply_ScalarVector_f16) { … }
TEST_F(GlslASTPrinterTest_Binary, Multiply_MatrixScalar_f32) { … }
TEST_F(GlslASTPrinterTest_Binary, Multiply_MatrixScalar_f16) { … }
TEST_F(GlslASTPrinterTest_Binary, Multiply_ScalarMatrix_f32) { … }
TEST_F(GlslASTPrinterTest_Binary, Multiply_ScalarMatrix_f16) { … }
TEST_F(GlslASTPrinterTest_Binary, Multiply_MatrixVector_f32) { … }
TEST_F(GlslASTPrinterTest_Binary, Multiply_MatrixVector_f16) { … }
TEST_F(GlslASTPrinterTest_Binary, Multiply_VectorMatrix_f32) { … }
TEST_F(GlslASTPrinterTest_Binary, Multiply_VectorMatrix_f16) { … }
TEST_F(GlslASTPrinterTest_Binary, Multiply_MatrixMatrix_f32) { … }
TEST_F(GlslASTPrinterTest_Binary, Multiply_MatrixMatrix_f16) { … }
TEST_F(GlslASTPrinterTest_Binary, ModF32) { … }
TEST_F(GlslASTPrinterTest_Binary, ModF16) { … }
TEST_F(GlslASTPrinterTest_Binary, ModVec3F32) { … }
TEST_F(GlslASTPrinterTest_Binary, ModVec3F16) { … }
TEST_F(GlslASTPrinterTest_Binary, ModVec3F32ScalarF32) { … }
TEST_F(GlslASTPrinterTest_Binary, ModVec3F16ScalarF16) { … }
TEST_F(GlslASTPrinterTest_Binary, ModScalarF32Vec3F32) { … }
TEST_F(GlslASTPrinterTest_Binary, ModScalarF16Vec3F16) { … }
TEST_F(GlslASTPrinterTest_Binary, ModMixedVec3ScalarF32) { … }
TEST_F(GlslASTPrinterTest_Binary, ModMixedVec3ScalarF16) { … }
TEST_F(GlslASTPrinterTest_Binary, Logical_And) { … }
TEST_F(GlslASTPrinterTest_Binary, Logical_Multi) { … }
TEST_F(GlslASTPrinterTest_Binary, Logical_Or) { … }
TEST_F(GlslASTPrinterTest_Binary, If_WithLogical) { … }
TEST_F(GlslASTPrinterTest_Binary, Return_WithLogical) { … }
TEST_F(GlslASTPrinterTest_Binary, Assign_WithLogical) { … }
TEST_F(GlslASTPrinterTest_Binary, Decl_WithLogical) { … }
TEST_F(GlslASTPrinterTest_Binary, Call_WithLogical) { … }
}
}