mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 19:32:25 +08:00
Refactor: don't use global ProductHelper getter in shared files 2/n
Related-To: NEO-6853 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7c23ea3928
commit
3c5b3d4bac
@@ -27,7 +27,7 @@ namespace NEO {
|
||||
template <>
|
||||
size_t EncodeWA<Family>::getAdditionalPipelineSelectSize(Device &device, bool isRcs) {
|
||||
size_t size = 0;
|
||||
const auto &productHelper = *ProductHelper::get(device.getHardwareInfo().platform.eProductFamily);
|
||||
const auto &productHelper = device.getProductHelper();
|
||||
if (isRcs && productHelper.is3DPipelineSelectWARequired()) {
|
||||
size += 2 * PreambleHelper<Family>::getCmdSizeForPipelineSelect(device.getHardwareInfo());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user