From a031a2507fb5ad243a43722bc95b614267955cc3 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Mon, 16 Oct 2023 11:02:10 +0200 Subject: [PATCH] rhi: d3d12: Reduce include statements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit And some of them are not needed at all. Pick-to: 6.6 Change-Id: Ia4778c7016573eff3eefc2f6838e458008161da6 Reviewed-by: Christian Strømme --- src/gui/rhi/qrhid3d12.cpp | 3 --- src/gui/rhi/qrhid3d12_p.h | 1 - src/gui/rhi/qrhid3dhelpers.cpp | 2 ++ src/gui/rhi/qrhid3dhelpers_p.h | 2 -- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/gui/rhi/qrhid3d12.cpp b/src/gui/rhi/qrhid3d12.cpp index 3215336db5..47c0a228b1 100644 --- a/src/gui/rhi/qrhid3d12.cpp +++ b/src/gui/rhi/qrhid3d12.cpp @@ -2,10 +2,7 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only #include "qrhid3d12_p.h" -#include "qshader.h" -#include #include -#include #include #include #include "qrhid3dhelpers_p.h" diff --git a/src/gui/rhi/qrhid3d12_p.h b/src/gui/rhi/qrhid3d12_p.h index 3c35474530..2f8e00f130 100644 --- a/src/gui/rhi/qrhid3d12_p.h +++ b/src/gui/rhi/qrhid3d12_p.h @@ -16,7 +16,6 @@ // #include "qrhi_p.h" -#include #include #include diff --git a/src/gui/rhi/qrhid3dhelpers.cpp b/src/gui/rhi/qrhid3dhelpers.cpp index ba704805d4..216c358cbe 100644 --- a/src/gui/rhi/qrhid3dhelpers.cpp +++ b/src/gui/rhi/qrhid3dhelpers.cpp @@ -2,6 +2,8 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only #include "qrhid3dhelpers_p.h" +#include +#include QT_BEGIN_NAMESPACE diff --git a/src/gui/rhi/qrhid3dhelpers_p.h b/src/gui/rhi/qrhid3dhelpers_p.h index ebacf7387e..f31cdc8d11 100644 --- a/src/gui/rhi/qrhid3dhelpers_p.h +++ b/src/gui/rhi/qrhid3dhelpers_p.h @@ -15,8 +15,6 @@ // We mean it. // -#include -#include #include #include