From c5fb745260c38066012f03c687fa2c381a8eeee9 Mon Sep 17 00:00:00 2001 From: Bartosz Dunajski Date: Tue, 24 Nov 2020 15:35:11 +0000 Subject: [PATCH] Update PipeControlArgs helper Signed-off-by: Bartosz Dunajski --- shared/source/helpers/definitions/pipe_control_args_base.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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