[dxbc] Run analyzer before creating compiler object

We may need the analysis results when initializing the compiler object.
This commit is contained in:
Philip Rebohle 2018-05-26 17:46:49 +02:00
parent af62d423b2
commit 9278221416
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
1 changed files with 2 additions and 1 deletions

View File

@ -54,13 +54,14 @@ namespace dxvk {
m_isgnChunk, m_osgnChunk,
analysisInfo);
this->runAnalyzer(analyzer, m_shexChunk->slice());
DxbcCompiler compiler(
fileName, options,
m_shexChunk->version(),
m_isgnChunk, m_osgnChunk,
analysisInfo);
this->runAnalyzer(analyzer, m_shexChunk->slice());
this->runCompiler(compiler, m_shexChunk->slice());
return compiler.finalize();