#include "src/tint/lang/spirv/writer/raise/var_for_dynamic_index.h"
#include <utility>
#include "src/tint/lang/core/ir/transform/helper_test.h"
#include "src/tint/lang/core/type/array.h"
#include "src/tint/lang/core/type/matrix.h"
#include "src/tint/lang/core/type/struct.h"
namespace tint::spirv::writer::raise {
namespace {
usingnamespacetint::core::fluent_types;
usingnamespacetint::core::number_suffixes;
SpirvWriter_VarForDynamicIndexTest;
TEST_F(SpirvWriter_VarForDynamicIndexTest, NoModify_ConstantIndex_ArrayValue) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest, NoModify_ConstantIndex_MatrixValue) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest, NoModify_DynamicIndex_ArrayPointer) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest, NoModify_DynamicIndex_MatrixPointer) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest, NoModify_DynamicIndex_VectorValue) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest, DynamicIndex_ArrayValue) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest, DynamicIndex_MatrixValue) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest, DynamicIndex_VectorValue) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest, AccessChain) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest, AccessChain_SkipConstantIndices) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest, AccessChain_SkipConstantIndices_Interleaved) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest, AccessChain_SkipConstantIndices_Struct) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest, MultipleAccessesFromSameSource) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest, MultipleAccessesFromSameSource_SkipConstantIndices) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest, MultipleAccessesToFuncParam_FromDifferentBlocks) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest,
MultipleAccessesToFuncParam_FromDifferentBlocks_WithLeadingConstantIndex) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest, MultipleAccessesToBlockParam_FromDifferentBlocks) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest,
MultipleAccessesToBlockParam_FromDifferentBlocks_WithLeadingConstantIndex) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest, MultipleAccessesToConstant_FromDifferentFunctions) { … }
TEST_F(SpirvWriter_VarForDynamicIndexTest,
MultipleAccessesToConstant_FromDifferentFunctions_WithLeadingConstantIndex) { … }
}
}