refactor: correct naming of enum class constants

EngineGroupType
BlitDirection
PostBlitMode
WaitStatus

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-12-01 09:12:59 +00:00
committed by Compute-Runtime-Automation
parent 9cc1a23ab6
commit e57d372608
184 changed files with 1485 additions and 1485 deletions

View File

@@ -126,11 +126,11 @@ template <>
EngineGroupType GfxCoreHelperHw<Family>::getEngineGroupType(aub_stream::EngineType engineType, EngineUsage engineUsage, const HardwareInfo &hwInfo) const {
switch (engineType) {
case aub_stream::ENGINE_RCS:
return EngineGroupType::RenderCompute;
return EngineGroupType::renderCompute;
case aub_stream::ENGINE_CCS:
return EngineGroupType::Compute;
return EngineGroupType::compute;
case aub_stream::ENGINE_BCS:
return EngineGroupType::Copy;
return EngineGroupType::copy;
default:
UNRECOVERABLE_IF(true);
}

View File

@@ -78,7 +78,7 @@ template <>
void PreambleHelper<Family>::addPipeControlBeforeVfeCmd(LinearStream *pCommandStream, const HardwareInfo *hwInfo, EngineGroupType engineGroupType) {
PipeControlArgs args = {};
if (hwInfo->workaroundTable.flags.waSendMIFLUSHBeforeVFE) {
if (engineGroupType != EngineGroupType::Compute) {
if (engineGroupType != EngineGroupType::compute) {
args.renderTargetCacheFlushEnable = true;
args.depthCacheFlushEnable = true;
args.depthStallEnable = true;