File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -2454,7 +2454,7 @@ namespace IGC
2454
2454
arg.getArgType () == KernelArg::ArgType::IMPLICIT_BUFFER_SIZE) &&
2455
2455
arg.getArg ()->use_empty ();
2456
2456
2457
- if (m_Context-> platform . allowRemovingUnusedImplicitArguments ( ))
2457
+ if (IGC_IS_FLAG_ENABLED (RemoveUnusedIdImplicitArguments ))
2458
2458
{
2459
2459
IsUnusedArg |=
2460
2460
(arg.getArgType () == KernelArg::ArgType::IMPLICIT_PAYLOAD_HEADER || // contains global_id_offset
Original file line number Diff line number Diff line change @@ -1897,13 +1897,5 @@ bool allowProceedBasedApproachForRayQueryDynamicRayManagementMechanism() const
1897
1897
return IGC_IS_FLAG_DISABLED (DisableProceedBasedApproachForRayQueryDynamicRayManagementMechanism);
1898
1898
}
1899
1899
1900
- bool allowRemovingUnusedImplicitArguments () const
1901
- {
1902
- if (IGC_IS_FLAG_SET (RemoveUnusedIdImplicitArguments))
1903
- return IGC_IS_FLAG_ENABLED (RemoveUnusedIdImplicitArguments);
1904
-
1905
- return isCoreChildOf (IGFX_XE_HP_CORE) && !isCoreChildOf (IGFX_XE2_HPG_CORE);
1906
- }
1907
-
1908
1900
};
1909
1901
}// namespace IGC
You can’t perform that action at this time.
0 commit comments