Skip to content

Commit

Permalink
Disable PerformanceTest: ShaderGen and Validation for Analysis builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinbhat committed Oct 18, 2023
1 parent 3e63d6c commit 96a57b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/MaterialXTest/MaterialXGenGlsl/GenGlsl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,13 @@ TEST_CASE("GenShader: Bind Light Shaders", "[genglsl]")
TEST_CASE("PerformanceTest: ShaderGen and Validation", "[performancetest]")
{
#ifdef MATERIALX_DYNAMIC_ANALYSIS
SUCCEED("PerformanceTest - skipped");
#else
mx::GenContext context(mx::GlslShaderGenerator::create());
BENCHMARK("Load documents, validate and generate shader")
{
return GenShaderUtil::shaderGenPerformanceTest(context);
};
#else
SUCCEED("PerformanceTest - skipped");
#endif // MATERIALX_DYNAMIC_ANALYSIS
}

Expand Down

0 comments on commit 96a57b4

Please sign in to comment.