mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
Add function to check whether resolves are required
Change-Id: I0f81a4101b626ad7ddc17f19daabdf7a15c34467 Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
3f433baf38
commit
15ba4b6788
@@ -356,6 +356,8 @@ cl_int Kernel::initialize() {
|
||||
}
|
||||
}
|
||||
|
||||
auxTranslationRequired &= HwHelper::get(device.getHardwareInfo().platform.eRenderCoreFamily).requiresAuxResolves();
|
||||
|
||||
if (DebugManager.flags.DisableAuxTranslation.get()) {
|
||||
auxTranslationRequired = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user