#include "src/tint/lang/hlsl/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"
namespace tint::hlsl::writer {
namespace {
usingnamespacetint::core::fluent_types;
usingnamespacetint::core::number_suffixes;
HlslASTPrinterTest_Binary;
struct BinaryData { … };
inline std::ostream& operator<<(std::ostream& out, BinaryData data) { … }
HlslBinaryTest;
TEST_P(HlslBinaryTest, Emit_f32) { … }
TEST_P(HlslBinaryTest, Emit_f16) { … }
TEST_P(HlslBinaryTest, Emit_u32) { … }
TEST_P(HlslBinaryTest, Emit_i32) { … }
INSTANTIATE_TEST_SUITE_P(…);
TEST_F(HlslASTPrinterTest_Binary, Multiply_VectorScalar_f32) { … }
TEST_F(HlslASTPrinterTest_Binary, Multiply_VectorScalar_f16) { … }
TEST_F(HlslASTPrinterTest_Binary, Multiply_ScalarVector_f32) { … }
TEST_F(HlslASTPrinterTest_Binary, Multiply_ScalarVector_f16) { … }
TEST_F(HlslASTPrinterTest_Binary, Multiply_MatrixScalar_f32) { … }
TEST_F(HlslASTPrinterTest_Binary, Multiply_MatrixScalar_f16) { … }
TEST_F(HlslASTPrinterTest_Binary, Multiply_ScalarMatrix_f32) { … }
TEST_F(HlslASTPrinterTest_Binary, Multiply_ScalarMatrix_f16) { … }
TEST_F(HlslASTPrinterTest_Binary, Multiply_MatrixVector_f32) { … }
TEST_F(HlslASTPrinterTest_Binary, Multiply_MatrixVector_f16) { … }
TEST_F(HlslASTPrinterTest_Binary, Multiply_VectorMatrix_f32) { … }
TEST_F(HlslASTPrinterTest_Binary, Multiply_VectorMatrix_f16) { … }
TEST_F(HlslASTPrinterTest_Binary, Multiply_MatrixMatrix_f32) { … }
TEST_F(HlslASTPrinterTest_Binary, Multiply_MatrixMatrix_f16) { … }
TEST_F(HlslASTPrinterTest_Binary, Logical_And) { … }
TEST_F(HlslASTPrinterTest_Binary, Logical_Multi) { … }
TEST_F(HlslASTPrinterTest_Binary, Logical_Or) { … }
TEST_F(HlslASTPrinterTest_Binary, If_WithLogical) { … }
TEST_F(HlslASTPrinterTest_Binary, Return_WithLogical) { … }
TEST_F(HlslASTPrinterTest_Binary, Assign_WithLogical) { … }
TEST_F(HlslASTPrinterTest_Binary, Decl_WithLogical) { … }
TEST_F(HlslASTPrinterTest_Binary, Call_WithLogical) { … }
}
}