#include "gmock/gmock.h"
#include "src/tint/lang/hlsl/writer/ast_printer/helper_test.h"
#include "src/tint/lang/wgsl/ast/stage_attribute.h"
#include "src/tint/lang/wgsl/ast/variable_decl_statement.h"
#include "src/tint/lang/wgsl/ast/workgroup_attribute.h"
HasSubstr;
namespace tint::hlsl::writer {
namespace {
usingnamespacetint::core::fluent_types;
usingnamespacetint::core::number_suffixes;
HlslASTPrinterTest_Function;
TEST_F(HlslASTPrinterTest_Function, Emit_Function) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Function_Name_Collision) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Function_WithParams) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Attribute_EntryPoint_NoReturn_Void) { … }
TEST_F(HlslASTPrinterTest_Function, PtrParameter) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Attribute_EntryPoint_WithInOutVars) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Attribute_EntryPoint_WithInOut_Builtins) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Attribute_EntryPoint_SharedStruct_DifferentStages) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Attribute_EntryPoint_SharedStruct_HelperFunction) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Attribute_EntryPoint_With_Uniform) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Attribute_EntryPoint_With_UniformStruct) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Attribute_EntryPoint_With_RW_StorageBuffer_Read) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Attribute_EntryPoint_With_RO_StorageBuffer_Read) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Attribute_EntryPoint_With_WO_StorageBuffer_Store) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Attribute_EntryPoint_With_StorageBuffer_Store) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Attribute_Called_By_EntryPoint_With_Uniform) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Attribute_Called_By_EntryPoint_With_StorageBuffer) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Attribute_EntryPoint_WithNameCollision) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Attribute_EntryPoint_Compute) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Attribute_EntryPoint_Compute_WithWorkgroup_Literal) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Attribute_EntryPoint_Compute_WithWorkgroup_Const) { … }
TEST_F(HlslASTPrinterTest_Function,
Emit_Attribute_EntryPoint_Compute_WithWorkgroup_OverridableConst) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Function_WithArrayParams) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Function_WithArrayReturn) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Function_WithDiscardAndVoidReturn) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Function_WithDiscardAndNonVoidReturn) { … }
TEST_F(HlslASTPrinterTest_Function, Emit_Multiple_EntryPoint_With_Same_ModuleVar) { … }
}
}