#include "src/tint/lang/wgsl/ast/transform/add_block_attribute.h"
#include <memory>
#include <utility>
#include "src/tint/lang/wgsl/ast/transform/helper_test.h"
namespace tint::ast::transform {
namespace {
AddBlockAttributeTest;
TEST_F(AddBlockAttributeTest, EmptyModule) { … }
TEST_F(AddBlockAttributeTest, Noop_UsedForPrivateVar) { … }
TEST_F(AddBlockAttributeTest, Noop_UsedForShaderIO) { … }
TEST_F(AddBlockAttributeTest, BasicScalar) { … }
TEST_F(AddBlockAttributeTest, BasicArray) { … }
TEST_F(AddBlockAttributeTest, BasicArray_Alias) { … }
TEST_F(AddBlockAttributeTest, BasicStruct_AccessRoot) { … }
TEST_F(AddBlockAttributeTest, BasicStruct_Storage_AccessRoot) { … }
TEST_F(AddBlockAttributeTest, BasicStruct_Storage_TwoUsage_AccessRoot) { … }
TEST_F(AddBlockAttributeTest, BasicStruct_AccessField) { … }
TEST_F(AddBlockAttributeTest, BasicScalar_PushConstant) { … }
TEST_F(AddBlockAttributeTest, BasicStruct_PushConstant) { … }
TEST_F(AddBlockAttributeTest, Nested_OuterBuffer_InnerNotBuffer) { … }
TEST_F(AddBlockAttributeTest, Nested_OuterBuffer_InnerBuffer) { … }
TEST_F(AddBlockAttributeTest, Nested_OuterNotBuffer_InnerBuffer) { … }
TEST_F(AddBlockAttributeTest, Nested_InnerUsedForMultipleBuffers) { … }
TEST_F(AddBlockAttributeTest, StructInArray) { … }
TEST_F(AddBlockAttributeTest, StructInArray_MultipleBuffers) { … }
TEST_F(AddBlockAttributeTest, Aliases_Nested_OuterBuffer_InnerBuffer) { … }
TEST_F(AddBlockAttributeTest, Aliases_Nested_OuterBuffer_InnerBuffer_OutOfOrder) { … }
TEST_F(AddBlockAttributeTest, UniformAndPrivateUsages) { … }
TEST_F(AddBlockAttributeTest, StorageAndPrivateUsages) { … }
TEST_F(AddBlockAttributeTest, StorageAndUniformUsages) { … }
TEST_F(AddBlockAttributeTest, PrivateUsageOnly) { … }
TEST_F(AddBlockAttributeTest, StorageBufferWithRuntimeArray) { … }
}
}