mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 06:23:01 +08:00
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:
committed by
Compute-Runtime-Automation
parent
9cc1a23ab6
commit
e57d372608
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user