1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-29 19:24:10 +01:00

[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

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();