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:
parent
af62d423b2
commit
9278221416
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user