#include <utility>
#include "gtest/gtest.h"
#include "src/tint/lang/core/access.h"
#include "src/tint/lang/core/builtin_value.h"
#include "src/tint/lang/core/fluent_types.h"
#include "src/tint/lang/core/number.h"
#include "src/tint/lang/core/type/struct.h"
#include "src/tint/lang/hlsl/writer/helper_test.h"
#include "src/tint/utils/containers/vector.h"
usingnamespacetint::core::number_suffixes;
usingnamespacetint::core::fluent_types;
namespace tint::hlsl::writer {
namespace {
TEST_F(HlslWriterTest, FunctionEmpty) { … }
TEST_F(HlslWriterTest, FunctionWithParams) { … }
TEST_F(HlslWriterTest, FunctionEntryPoint) { … }
TEST_F(HlslWriterTest, FunctionEntryPointWithParams) { … }
TEST_F(HlslWriterTest, FunctionPtrParameter) { … }
TEST_F(HlslWriterTest, FunctionEntryPointWithInAndOutLocations) { … }
TEST_F(HlslWriterTest, FunctionEntryPointWithInOutBuiltins) { … }
TEST_F(HlslWriterTest, FunctionEntryPointSharedStructDifferentStages) { … }
TEST_F(HlslWriterTest, FunctionEntryPointSharedStructHelperFunction) { … }
TEST_F(HlslWriterTest, DISABLED_FunctionEntryPointWithUniform) { … }
TEST_F(HlslWriterTest, DISABLED_FunctionEntryPointWithUniformStruct) { … }
TEST_F(HlslWriterTest, FunctionEntryPointWithRWStorageBufferRead) { … }
TEST_F(HlslWriterTest, FunctionEntryPointWithROStorageBufferRead) { … }
TEST_F(HlslWriterTest, DISABLED_FunctionEntryPointWithWOStorageBufferStore) { … }
TEST_F(HlslWriterTest, DISABLED_FunctionEntryPointWithStorageBufferStore) { … }
TEST_F(HlslWriterTest, DISABLED_FunctionCalledByEntryPointWithUniform) { … }
TEST_F(HlslWriterTest, FunctionCalledByEntryPointWithStorageBuffer) { … }
TEST_F(HlslWriterTest, FunctionEntryPointCompute) { … }
TEST_F(HlslWriterTest, FunctionEntryPointComputeWithWorkgroupLiteral) { … }
TEST_F(HlslWriterTest, FunctionWithArrayParams) { … }
TEST_F(HlslWriterTest, FunctionWithArrayReturn) { … }
TEST_F(HlslWriterTest, FunctionWithDiscardAndVoidReturn) { … }
TEST_F(HlslWriterTest, FunctionWithDiscardAndNonVoidReturn) { … }
TEST_F(HlslWriterTest, FunctionMultipleEntryPointWithSameModuleVar) { … }
TEST_F(HlslWriterTest, DuplicateConstant) { … }
}
}