Fix missing calls to SetThreadPoolAllocator() in TProgram public interface functions
This commit is contained in:
parent
bedbe7481e
commit
ebbd65501d
1 changed files with 5 additions and 0 deletions
|
|
@ -2121,6 +2121,8 @@ bool TProgram::buildReflection(int opts)
|
||||||
if (! linked || reflection != nullptr)
|
if (! linked || reflection != nullptr)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
SetThreadPoolAllocator(pool);
|
||||||
|
|
||||||
int firstStage = EShLangVertex, lastStage = EShLangFragment;
|
int firstStage = EShLangVertex, lastStage = EShLangFragment;
|
||||||
|
|
||||||
if (opts & EShReflectionIntermediateIO) {
|
if (opts & EShReflectionIntermediateIO) {
|
||||||
|
|
@ -2176,6 +2178,9 @@ bool TProgram::mapIO(TIoMapResolver* pResolver, TIoMapper* pIoMapper)
|
||||||
{
|
{
|
||||||
if (! linked)
|
if (! linked)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
SetThreadPoolAllocator(pool);
|
||||||
|
|
||||||
TIoMapper* ioMapper = nullptr;
|
TIoMapper* ioMapper = nullptr;
|
||||||
TIoMapper defaultIOMapper;
|
TIoMapper defaultIOMapper;
|
||||||
if (pIoMapper == nullptr)
|
if (pIoMapper == nullptr)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue