#include "src/tint/lang/msl/writer/ast_printer/helper_test.h"
#include "src/tint/lang/wgsl/ast/call_statement.h"
#include "src/tint/lang/wgsl/sem/call.h"
#include "src/tint/utils/text/string_stream.h"
namespace tint::msl::writer {
namespace {
usingnamespacetint::core::fluent_types;
usingnamespacetint::core::number_suffixes;
MslASTPrinterTest;
enum class CallParamType { … };
struct BuiltinData { … };
inline std::ostream& operator<<(std::ostream& out, BuiltinData data) { … }
const ast::CallExpression* GenerateCall(wgsl::BuiltinFn builtin,
CallParamType type,
ProgramBuilder* builder) { … }
MslBuiltinTest;
TEST_P(MslBuiltinTest, Emit) { … }
INSTANTIATE_TEST_SUITE_P(…);
TEST_F(MslASTPrinterTest, Builtin_Call) { … }
TEST_F(MslASTPrinterTest, StorageBarrier) { … }
TEST_F(MslASTPrinterTest, WorkgroupBarrier) { … }
TEST_F(MslASTPrinterTest, Runtime_Modf_Scalar_f32) { … }
TEST_F(MslASTPrinterTest, Runtime_Modf_Scalar_f16) { … }
TEST_F(MslASTPrinterTest, Runtime_Modf_Vector_f32) { … }
TEST_F(MslASTPrinterTest, Runtime_Modf_Vector_f16) { … }
TEST_F(MslASTPrinterTest, Const_Modf_Scalar_f32) { … }
TEST_F(MslASTPrinterTest, Const_Modf_Scalar_f16) { … }
TEST_F(MslASTPrinterTest, Const_Modf_Vector_f32) { … }
TEST_F(MslASTPrinterTest, Const_Modf_Vector_f16) { … }
TEST_F(MslASTPrinterTest, Runtime_Frexp_Scalar_f32) { … }
TEST_F(MslASTPrinterTest, Runtime_Frexp_Scalar_f16) { … }
TEST_F(MslASTPrinterTest, Runtime_Frexp_Vector_f32) { … }
TEST_F(MslASTPrinterTest, Runtime_Frexp_Vector_f16) { … }
TEST_F(MslASTPrinterTest, Const_Frexp_Scalar_f32) { … }
TEST_F(MslASTPrinterTest, Const_Frexp_Scalar_f16) { … }
TEST_F(MslASTPrinterTest, Const_Frexp_Vector_f32) { … }
TEST_F(MslASTPrinterTest, Const_Frexp_Vector_f16) { … }
TEST_F(MslASTPrinterTest, Degrees_Scalar_f32) { … }
TEST_F(MslASTPrinterTest, Degrees_Vector_f32) { … }
TEST_F(MslASTPrinterTest, Degrees_Scalar_f16) { … }
TEST_F(MslASTPrinterTest, Degrees_Vector_f16) { … }
TEST_F(MslASTPrinterTest, Radians_Scalar_f32) { … }
TEST_F(MslASTPrinterTest, Radians_Vector_f32) { … }
TEST_F(MslASTPrinterTest, Radians_Scalar_f16) { … }
TEST_F(MslASTPrinterTest, Radians_Vector_f16) { … }
TEST_F(MslASTPrinterTest, Pack2x16Float) { … }
TEST_F(MslASTPrinterTest, Unpack2x16Float) { … }
TEST_F(MslASTPrinterTest, DotI32) { … }
TEST_F(MslASTPrinterTest, Ignore) { … }
TEST_F(MslASTPrinterTest, PolyfillDot4I8Packed_False) { … }
TEST_F(MslASTPrinterTest, PolyfillDot4I8Packed_True) { … }
TEST_F(MslASTPrinterTest, PolyfillDot4U8Packed_False) { … }
TEST_F(MslASTPrinterTest, PolyfillDot4U8Packed_True) { … }
}
}