#include "src/tint/lang/wgsl/ast/transform/zero_init_workgroup_memory.h"
#include <utility>
#include "src/tint/lang/wgsl/ast/transform/helper_test.h"
namespace tint::ast::transform {
namespace {
ZeroInitWorkgroupMemoryTest;
TEST_F(ZeroInitWorkgroupMemoryTest, ShouldRunEmptyModule) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, ShouldRunHasNoWorkgroupVars) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, ShouldRunHasWorkgroupVars) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, EmptyModule) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, NoWorkgroupVars) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, UnreferencedWorkgroupVars) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, UnreferencedWorkgroupVars_OutOfOrder) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, SingleWorkgroupVar_ExistingLocalIndex) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, SingleWorkgroupVar_ExistingLocalIndex_OutOfOrder) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, SingleWorkgroupVar_ExistingLocalIndexInStruct) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, SingleWorkgroupVar_ExistingLocalIndexInStruct_OutOfOrder) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, SingleWorkgroupVar_InjectedLocalIndex) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, SingleWorkgroupVar_InjectedLocalIndex_OutOfOrder) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, MultipleWorkgroupVar_ExistingLocalIndex_Size1) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, MultipleWorkgroupVar_ExistingLocalIndex_Size1_OutOfOrder) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, MultipleWorkgroupVar_ExistingLocalIndex_Size_2_3) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, MultipleWorkgroupVar_ExistingLocalIndex_Size_2_3_X) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, MultipleWorkgroupVar_ExistingLocalIndex_Size_5u_X_10u) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, MultipleWorkgroupVar_InjectedLocalIndex) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, MultipleWorkgroupVar_InjectedLocalIndex_OutOfOrder) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, MultipleWorkgroupVar_MultipleEntryPoints) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, MultipleWorkgroupVar_MultipleEntryPoints_OutOfOrder) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, TransitiveUsage) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, TransitiveUsage_OutOfOrder) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, WorkgroupAtomics) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, WorkgroupAtomics_OutOfOrder) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, WorkgroupStructOfAtomics) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, WorkgroupStructOfAtomics_OutOfOrder) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, WorkgroupArrayOfAtomics) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, WorkgroupArrayOfAtomics_OutOfOrder) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, WorkgroupArrayOfStructOfAtomics) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, WorkgroupArrayOfStructOfAtomics_OutOfOrder) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, ArrayWithOverrideCount) { … }
TEST_F(ZeroInitWorkgroupMemoryTest, AliasTypeWithParamName) { … }
}
}