#include "src/tint/lang/glsl/writer/ast_raise/combine_samplers.h"
#include <memory>
#include <utility>
#include "src/tint/lang/glsl/writer/common/options.h"
#include "src/tint/lang/wgsl/ast/transform/helper_test.h"
namespace tint::glsl::writer {
namespace {
CombineSamplersTest;
TEST_F(CombineSamplersTest, EmptyModule) { … }
TEST_F(CombineSamplersTest, SimplePair) { … }
TEST_F(CombineSamplersTest, SimplePair_OutOfOrder) { … }
TEST_F(CombineSamplersTest, SimplePairInAFunction) { … }
TEST_F(CombineSamplersTest, SimplePairInAFunction_OutOfOrder) { … }
TEST_F(CombineSamplersTest, SimplePairRename) { … }
TEST_F(CombineSamplersTest, SimplePairRenameMiss) { … }
TEST_F(CombineSamplersTest, AliasedTypes) { … }
TEST_F(CombineSamplersTest, AliasedTypes_OutOfOrder) { … }
TEST_F(CombineSamplersTest, SimplePairInTwoFunctions) { … }
TEST_F(CombineSamplersTest, SimplePairInTwoFunctions_OutOfOrder) { … }
TEST_F(CombineSamplersTest, TwoFunctionsGenerateSamePair) { … }
TEST_F(CombineSamplersTest, ThreeTexturesThreeSamplers) { … }
TEST_F(CombineSamplersTest, TwoFunctionsTwoTexturesDiamond) { … }
TEST_F(CombineSamplersTest, TwoFunctionsTwoSamplersDiamond) { … }
TEST_F(CombineSamplersTest, GlobalTextureLocalSampler) { … }
TEST_F(CombineSamplersTest, GlobalTextureLocalSampler_OutOfOrder) { … }
TEST_F(CombineSamplersTest, LocalTextureGlobalSampler) { … }
TEST_F(CombineSamplersTest, LocalTextureGlobalSampler_OutOfOrder) { … }
TEST_F(CombineSamplersTest, TextureLoadNoSampler) { … }
TEST_F(CombineSamplersTest, TextureWithAndWithoutSampler) { … }
TEST_F(CombineSamplersTest, TextureSampleCompare) { … }
TEST_F(CombineSamplersTest, TextureSampleCompareInAFunction) { … }
TEST_F(CombineSamplersTest, TextureSampleCompareInAFunction_OutOfOrder) { … }
TEST_F(CombineSamplersTest, BindingPointCollision) { … }
TEST_F(CombineSamplersTest, BindingPointCollision_OutOfOrder) { … }
TEST_F(CombineSamplersTest, UnusedTextureFunctionParameter) { … }
TEST_F(CombineSamplersTest, UnusedSamplerFunctionParameter) { … }
TEST_F(CombineSamplersTest, UnusedTextureAndSamplerFunctionParameter) { … }
TEST_F(CombineSamplersTest, UnusedTextureFunctionParameter_Multiple) { … }
TEST_F(CombineSamplersTest, UnusedTextureFunctionParameter_Nested) { … }
TEST_F(CombineSamplersTest, UnusedTextureAndSamplerFunctionParameter_Nested) { … }
TEST_F(CombineSamplersTest, UnusedTextureAndSamplerFunctionParameter_Nested2) { … }
}
}