mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00
Fix for spirv regression - preserve IR type
Preserve IR type during Program::compile when program is created from IR Change-Id: I9ee12b27e52fa72a1abbfa070895caf0ac3e32fb
This commit is contained in:

committed by
sys_ocldev

parent
2561ff6cb4
commit
44589b79b4
@ -222,7 +222,7 @@ cl_int CompilerInterface::compile(
|
||||
char *pOutput;
|
||||
uint32_t OutputSize;
|
||||
program.getSource(pOutput, OutputSize);
|
||||
program.storeIrBinary(pOutput, OutputSize, outType == IGC::CodeType::spirV);
|
||||
program.storeIrBinary(pOutput, OutputSize, program.getIsSpirV());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user