diff --git a/shared/source/helpers/definitions/pipe_control_args_base.h b/shared/source/helpers/definitions/pipe_control_args_base.h index 182e8f8f68..3f35ca65d6 100644 --- a/shared/source/helpers/definitions/pipe_control_args_base.h +++ b/shared/source/helpers/definitions/pipe_control_args_base.h @@ -8,9 +8,6 @@ #pragma once namespace NEO { struct PipeControlArgsBase { - PipeControlArgsBase() = default; - PipeControlArgsBase(bool dcFlush) : dcFlushEnable(dcFlush) {} - bool dcFlushEnable = false; bool renderTargetCacheFlushEnable = false; bool instructionCacheInvalidateEnable = false; @@ -21,5 +18,9 @@ struct PipeControlArgsBase { bool stateCacheInvalidationEnable = false; bool genericMediaStateClear = false; bool hdcPipelineFlush = false; + + protected: + PipeControlArgsBase() = default; + PipeControlArgsBase(bool dcFlush) : dcFlushEnable(dcFlush) {} }; } // namespace NEO