Skip to content

Commit

Permalink
Remove invalid FeatureLevel0Sampler3D test
Browse files Browse the repository at this point in the history
  • Loading branch information
elizagamedev committed Nov 1, 2023
1 parent a3fdca7 commit 4fd7c41
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions libs/filamat/tests/test_filamat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -872,24 +872,6 @@ TEST_F(MaterialCompiler, FeatureLevel0Sampler2D) {
EXPECT_TRUE(result.isValid());
}

TEST_F(MaterialCompiler, FeatureLevel0Sampler3D) {
std::string shaderCode(R"(
void material(inout MaterialInputs material) {
prepareMaterial(material);
material.baseColor = texture3D(materialParams_sampler, vec3(0.0, 0.0, 0.0));
}
)");
filamat::MaterialBuilder builder;
builder.parameter("sampler", SamplerType::SAMPLER_3D);

builder.featureLevel(FeatureLevel::FEATURE_LEVEL_0);
builder.shading(filament::Shading::UNLIT);
builder.material(shaderCode.c_str());
builder.printShaders(true);
filamat::Package result = builder.build(*jobSystem);
EXPECT_TRUE(result.isValid());
}

TEST_F(MaterialCompiler, FeatureLevel0Ess3CallFails) {
std::string shaderCode(R"(
void material(inout MaterialInputs material) {
Expand Down

0 comments on commit 4fd7c41

Please sign in to comment.