#include "src/tint/lang/hlsl/writer/ast_raise/decompose_memory_access.h"
#include "src/tint/lang/wgsl/ast/transform/helper_test.h"
#include "src/tint/lang/wgsl/ast/transform/simplify_pointers.h"
namespace tint::hlsl::writer {
namespace {
DecomposeMemoryAccessTest;
TEST_F(DecomposeMemoryAccessTest, ShouldRunEmptyModule) { … }
TEST_F(DecomposeMemoryAccessTest, ShouldRunStorageBuffer) { … }
TEST_F(DecomposeMemoryAccessTest, ShouldRunUniformBuffer) { … }
TEST_F(DecomposeMemoryAccessTest, SB_BasicLoad) { … }
TEST_F(DecomposeMemoryAccessTest, SB_BasicLoad_OutOfOrder) { … }
TEST_F(DecomposeMemoryAccessTest, UB_BasicLoad) { … }
TEST_F(DecomposeMemoryAccessTest, UB_BasicLoad_OutOfOrder) { … }
TEST_F(DecomposeMemoryAccessTest, SB_BasicStore) { … }
TEST_F(DecomposeMemoryAccessTest, SB_BasicStore_OutOfOrder) { … }
TEST_F(DecomposeMemoryAccessTest, LoadStructure) { … }
TEST_F(DecomposeMemoryAccessTest, LoadStructure_OutOfOrder) { … }
TEST_F(DecomposeMemoryAccessTest, StoreStructure) { … }
TEST_F(DecomposeMemoryAccessTest, StoreStructure_OutOfOrder) { … }
TEST_F(DecomposeMemoryAccessTest, ComplexStaticAccessChain) { … }
TEST_F(DecomposeMemoryAccessTest, ComplexStaticAccessChain_ViaPointerDot) { … }
TEST_F(DecomposeMemoryAccessTest, ComplexStaticAccessChain_OutOfOrder) { … }
TEST_F(DecomposeMemoryAccessTest, ComplexDynamicAccessChain) { … }
TEST_F(DecomposeMemoryAccessTest, ComplexDynamicAccessChain_OutOfOrder) { … }
TEST_F(DecomposeMemoryAccessTest, ComplexDynamicAccessChainWithAliases) { … }
TEST_F(DecomposeMemoryAccessTest, ComplexDynamicAccessChainWithAliases_OutOfOrder) { … }
TEST_F(DecomposeMemoryAccessTest, StorageBufferAtomics) { … }
TEST_F(DecomposeMemoryAccessTest, StorageBufferAtomics_OutOfOrder) { … }
TEST_F(DecomposeMemoryAccessTest, WorkgroupBufferAtomics) { … }
TEST_F(DecomposeMemoryAccessTest, WorkgroupBufferAtomics_OutOfOrder) { … }
}
}