Remove some unnecessary #include

Change-Id: I51382e4b4d68da55631d37b1b72fecaaef2b16ee
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124020
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Peng Huang <penghuang@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
Peng Huang 2023-03-14 15:47:02 +00:00 committed by Dawn LUCI CQ
parent d7713c19bb
commit a56069b03d
4 changed files with 3 additions and 21 deletions

View File

@ -21,8 +21,6 @@
#include <sstream>
#include <utility>
#include "dawn/common/DynamicLib.h"
namespace dawn::native::d3d {
namespace {
// Extract Version from "10.0.{Version}.0" if possible, otherwise return 0.

View File

@ -19,10 +19,9 @@
#include <string>
#include "dawn/native/d3d/d3d_platform.h"
#include "dawn/common/DynamicLib.h"
#include "dawn/native/Error.h"
#include "dawn/native/d3d/d3d_platform.h"
namespace dawn::native::d3d {

View File

@ -14,14 +14,7 @@
#include "dawn/native/d3d12/PlatformFunctionsD3D12.h"
#include <comdef.h>
#include <algorithm>
#include <array>
#include <sstream>
#include <utility>
#include "dawn/common/DynamicLib.h"
#include <string>
namespace dawn::native::d3d12 {

View File

@ -15,22 +15,14 @@
#ifndef SRC_DAWN_NATIVE_D3D12_PLATFORMFUNCTIONS_H_
#define SRC_DAWN_NATIVE_D3D12_PLATFORMFUNCTIONS_H_
#include <d3dcompiler.h>
#include <string>
#include "dawn/native/d3d/PlatformFunctions.h"
#include "dawn/native/d3d12/d3d12_platform.h"
#include "dawn/common/DynamicLib.h"
#include "dawn/native/Error.h"
namespace dawn::native::d3d12 {
// Loads the functions required from the platform dynamically so that we don't need to rely on
// them being present in the system. For example linking against d3d12.lib would prevent
// dawn_native from loading on Windows 7 system where d3d12.dll doesn't exist.
class PlatformFunctions : public d3d::PlatformFunctions {
class PlatformFunctions final : public d3d::PlatformFunctions {
public:
PlatformFunctions();
~PlatformFunctions() override;