mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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,
|
m_isgnChunk, m_osgnChunk,
|
||||||
analysisInfo);
|
analysisInfo);
|
||||||
|
|
||||||
|
this->runAnalyzer(analyzer, m_shexChunk->slice());
|
||||||
|
|
||||||
DxbcCompiler compiler(
|
DxbcCompiler compiler(
|
||||||
fileName, options,
|
fileName, options,
|
||||||
m_shexChunk->version(),
|
m_shexChunk->version(),
|
||||||
m_isgnChunk, m_osgnChunk,
|
m_isgnChunk, m_osgnChunk,
|
||||||
analysisInfo);
|
analysisInfo);
|
||||||
|
|
||||||
this->runAnalyzer(analyzer, m_shexChunk->slice());
|
|
||||||
this->runCompiler(compiler, m_shexChunk->slice());
|
this->runCompiler(compiler, m_shexChunk->slice());
|
||||||
|
|
||||||
return compiler.finalize();
|
return compiler.finalize();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user