#include "src/tint/lang/wgsl/ast/transform/canonicalize_entry_point_io.h"
#include "src/tint/lang/wgsl/ast/transform/helper_test.h"
#include "src/tint/lang/wgsl/ast/transform/unshadow.h"
namespace tint::ast::transform {
namespace {
CanonicalizeEntryPointIOTest;
TEST_F(CanonicalizeEntryPointIOTest, Error_MissingTransformData) { … }
TEST_F(CanonicalizeEntryPointIOTest, NoShaderIO) { … }
TEST_F(CanonicalizeEntryPointIOTest, Parameters_Spirv) { … }
TEST_F(CanonicalizeEntryPointIOTest, Parameters_Msl) { … }
TEST_F(CanonicalizeEntryPointIOTest, Parameters_Hlsl) { … }
TEST_F(CanonicalizeEntryPointIOTest, Parameter_TypeAlias) { … }
TEST_F(CanonicalizeEntryPointIOTest, Parameter_TypeAlias_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, StructParameters_Spirv) { … }
TEST_F(CanonicalizeEntryPointIOTest, StructParameters_Spirv_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, StructParameters_kMsl) { … }
TEST_F(CanonicalizeEntryPointIOTest, StructParameters_kMsl_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, StructParameters_Hlsl) { … }
TEST_F(CanonicalizeEntryPointIOTest, StructParameters_Hlsl_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, Return_NonStruct_Spirv) { … }
TEST_F(CanonicalizeEntryPointIOTest, Return_NonStruct_Msl) { … }
TEST_F(CanonicalizeEntryPointIOTest, Return_NonStruct_Hlsl) { … }
TEST_F(CanonicalizeEntryPointIOTest, Return_Struct_Spirv) { … }
TEST_F(CanonicalizeEntryPointIOTest, Return_Struct_Spirv_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, Return_Struct_Msl) { … }
TEST_F(CanonicalizeEntryPointIOTest, Return_Struct_Msl_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, Return_Struct_Hlsl) { … }
TEST_F(CanonicalizeEntryPointIOTest, Return_Struct_Hlsl_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, StructParameters_SharedDeviceFunction_Spirv) { … }
TEST_F(CanonicalizeEntryPointIOTest, StructParameters_SharedDeviceFunction_Spirv_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, StructParameters_SharedDeviceFunction_Msl) { … }
TEST_F(CanonicalizeEntryPointIOTest, StructParameters_SharedDeviceFunction_Msl_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, StructParameters_SharedDeviceFunction_Hlsl) { … }
TEST_F(CanonicalizeEntryPointIOTest, StructParameters_SharedDeviceFunction_Hlsl_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, Struct_ModuleScopeVariable) { … }
TEST_F(CanonicalizeEntryPointIOTest, Struct_ModuleScopeVariable_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, Struct_TypeAliases) { … }
TEST_F(CanonicalizeEntryPointIOTest, Struct_TypeAliases_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, InterpolateAttributes) { … }
TEST_F(CanonicalizeEntryPointIOTest, InterpolateAttributes_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, InterpolateAttributes_Integers_Spirv) { … }
TEST_F(CanonicalizeEntryPointIOTest, InterpolateAttributes_Integers_Spirv_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, InvariantAttributes) { … }
TEST_F(CanonicalizeEntryPointIOTest, InvariantAttributes_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, Struct_LayoutAttributes) { … }
TEST_F(CanonicalizeEntryPointIOTest, Struct_LayoutAttributes_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, SortedMembers) { … }
TEST_F(CanonicalizeEntryPointIOTest, SortedMembers_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, DontRenameSymbols) { … }
TEST_F(CanonicalizeEntryPointIOTest, FixedSampleMask_VoidNoReturn) { … }
TEST_F(CanonicalizeEntryPointIOTest, FixedSampleMask_VoidWithReturn) { … }
TEST_F(CanonicalizeEntryPointIOTest, FixedSampleMask_WithAuthoredMask) { … }
TEST_F(CanonicalizeEntryPointIOTest, FixedSampleMask_WithoutAuthoredMask) { … }
TEST_F(CanonicalizeEntryPointIOTest, FixedSampleMask_StructWithAuthoredMask) { … }
TEST_F(CanonicalizeEntryPointIOTest, FixedSampleMask_StructWithAuthoredMask_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, FixedSampleMask_StructWithoutAuthoredMask) { … }
TEST_F(CanonicalizeEntryPointIOTest, FixedSampleMask_StructWithoutAuthoredMask_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, FixedSampleMask_MultipleShaders) { … }
TEST_F(CanonicalizeEntryPointIOTest, FixedSampleMask_AvoidNameClash) { … }
TEST_F(CanonicalizeEntryPointIOTest, EmitVertexPointSize_ReturnNonStruct_Spirv) { … }
TEST_F(CanonicalizeEntryPointIOTest, EmitVertexPointSize_ReturnNonStruct_Msl) { … }
TEST_F(CanonicalizeEntryPointIOTest, EmitVertexPointSize_ReturnStruct_Spirv) { … }
TEST_F(CanonicalizeEntryPointIOTest, EmitVertexPointSize_ReturnStruct_Spirv_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, EmitVertexPointSize_ReturnStruct_Msl) { … }
TEST_F(CanonicalizeEntryPointIOTest, EmitVertexPointSize_ReturnStruct_Msl_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, EmitVertexPointSize_AvoidNameClash_Spirv) { … }
TEST_F(CanonicalizeEntryPointIOTest, EmitVertexPointSize_AvoidNameClash_Spirv_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, EmitVertexPointSize_AvoidNameClash_Msl) { … }
TEST_F(CanonicalizeEntryPointIOTest, EmitVertexPointSize_AvoidNameClash_Msl_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, EmitVertexPointSize_AvoidNameClash_Hlsl) { … }
TEST_F(CanonicalizeEntryPointIOTest, EmitVertexPointSize_AvoidNameClash_Hlsl_OutOfOrder) { … }
TEST_F(CanonicalizeEntryPointIOTest, SpirvSampleMaskBuiltins) { … }
TEST_F(CanonicalizeEntryPointIOTest, GLSLSampleMaskBuiltins) { … }
TEST_F(CanonicalizeEntryPointIOTest, GLSLVertexInstanceIndexBuiltins) { … }
TEST_F(CanonicalizeEntryPointIOTest, Return_Struct_Index_Attribute_Spirv) { … }
TEST_F(CanonicalizeEntryPointIOTest, Return_Struct_Index_Attribute_Msl) { … }
TEST_F(CanonicalizeEntryPointIOTest, Return_Struct_Index_Attribute_Hlsl) { … }
TEST_F(CanonicalizeEntryPointIOTest, SubgroupBuiltins_Hlsl) { … }
TEST_F(CanonicalizeEntryPointIOTest, SubgroupBuiltinsStruct_Hlsl) { … }
TEST_F(CanonicalizeEntryPointIOTest, F16_Polyfill_Spirv) { … }
}
}