#include "src/tint/lang/wgsl/resolver/resolver.h"
#include "gmock/gmock.h"
#include "src/tint/lang/wgsl/resolver/resolver_helper_test.h"
#include "src/tint/lang/wgsl/sem/struct.h"
namespace tint::resolver {
namespace {
usingnamespacetint::core::fluent_types;
usingnamespacetint::core::number_suffixes;
HasSubstr;
ResolverAddressSpaceValidationTest;
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_NoAddressSpace_Fail) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_NoAddressSpace_Fail) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_FunctionAddressSpace_Fail) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Private_RuntimeArray) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Private_RuntimeArray) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Private_RuntimeArrayInStruct) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Private_RuntimeArrayInStruct) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Workgroup_RuntimeArray) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Workgroup_RuntimeArray) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Workgroup_RuntimeArrayInStruct) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Workgroup_RuntimeArrayInStruct) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Storage_Bool) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Storage_Bool) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Storage_BoolAlias) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Storage_BoolAlias) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Storage_Pointer) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Storage_IntScalar) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Storage_IntScalar) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Storage_F16) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Storage_F16) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Storage_F16Alias) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Storage_F16Alias) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Storage_VectorF32) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Storage_VectorF32) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Storage_VectorF16) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Storage_VectorF16) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Storage_ArrayF32) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Storage_ArrayF32) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Storage_ArrayF16) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Storage_ArrayF16) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Storage_StructI32) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Storage_StructI32) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Storage_StructI32Aliases) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Storage_StructI32Aliases) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Storage_StructF16) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Storage_StructF16) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Storage_StructF16Aliases) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Storage_StructF16Aliases) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_NotStorage_AccessMode) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_NotStorage_AccessMode) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Storage_ReadAccessMode) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Storage_ReadAccessMode) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Storage_ReadWriteAccessMode) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Storage_ReadWriteAccessMode) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_Storage_WriteAccessMode) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_Storage_WriteAccessMode) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_UniformBuffer_Struct_Runtime) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_UniformBuffer_Struct_Runtime) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_UniformBufferBool) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_UniformBufferBool) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_UniformBufferBoolAlias) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_UniformBufferBoolAlias) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_UniformPointer) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_UniformBufferIntScalar) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_UniformBufferIntScalar) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_UniformBufferF16) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_UniformBufferF16) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_UniformBufferVectorF32) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_UniformBufferVectorF32) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_UniformBufferVectorF16) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_UniformBufferVectorF16) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_UniformBufferArrayF32) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_UniformBufferArrayF32) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_UniformBufferArrayF16) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_UniformBufferArrayF16) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_UniformBufferStructI32) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_UniformBufferStructI32) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_UniformBufferStructI32Aliases) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_UniformBufferStructI32Aliases) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_UniformBufferStructF16) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_UniformBufferStructF16) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_UniformBufferStructF16Aliases) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_UniformBufferStructF16Aliases) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_PushConstantBool) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_PushConstantBool) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_PushConstantF16) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_PushConstantF16) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_PushConstantPointer) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_PushConstantIntScalar) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_PushConstantIntScalar) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_PushConstantVectorF32) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_PushConstantVectorF32) { … }
TEST_F(ResolverAddressSpaceValidationTest, GlobalVariable_PushConstantArrayF32) { … }
TEST_F(ResolverAddressSpaceValidationTest, PointerAlias_PushConstantArrayF32) { … }
}
}