// Copyright (C) 2023 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only #ifndef QRHID3DHELPERS_P_H #define QRHID3DHELPERS_P_H // // W A R N I N G // ------------- // // This file is not part of the Qt API. It exists purely as an // implementation detail. This header file may change from version to // version without notice, or even be removed. // // We mean it. // #include #include #include #include #if __has_include() #include #define QRHI_D3D12_HAS_DXC #endif #include "qdxgivsyncservice_p.h" #include "qdxgihdrinfo_p.h" QT_BEGIN_NAMESPACE namespace QRhiD3D { pD3DCompile resolveD3DCompile(); IDCompositionDevice *createDirectCompositionDevice(); #ifdef QRHI_D3D12_HAS_DXC std::pair createDxcCompiler(); #endif void fillDriverInfo(QRhiDriverInfo *info, const DXGI_ADAPTER_DESC1 &desc); } // namespace QT_END_NAMESPACE #endif