Just get my fork upgraded to Falcor 8.0 aligning with commit 9dc819c162b2070335c65060436041690b7937f8. Running Mogwai with PathTracer.py on cornell box scene leads to flooding slang warnings:
...
warning 41016: use of uninitialized variable 'result'
path.setDeltaOnlyPath(result.isLobe(LobeType::DeltaReflection) || result.isLobe(LobeType::DeltaTransmission));
...
More than 1000+ lines of resembling logs are produced.
Checked the slang version 2024.1.34 supports slang::CompilerOptionName::DisableWarning api in deed, but it still floods warnings on my computer even if I create a brand new clone from https://github.com/NVIDIAGameWorks/Falcor and build.
I found adding spOverrideDiagnosticSeverity in createSlangCompileRequest could suppress the warning, but it's definitely not a good practice.
Just get my fork upgraded to Falcor 8.0 aligning with commit
9dc819c162b2070335c65060436041690b7937f8
. Running Mogwai with PathTracer.py on cornell box scene leads to flooding slang warnings:More than 1000+ lines of resembling logs are produced.
Checked the slang version 2024.1.34 supports
slang::CompilerOptionName::DisableWarning
api in deed, but it still floods warnings on my computer even if I create a brand new clone from https://github.com/NVIDIAGameWorks/Falcor and build.I found adding
spOverrideDiagnosticSeverity
increateSlangCompileRequest
could suppress the warning, but it's definitely not a good practice.