Fix build/include_what_you_use

This CL adds the needed headers to pass the include what you use lint
check.

Bug: dawn:1339
Change-Id: Ib8df68e51b2c3711169b400e84768d4804568580
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86941
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
This commit is contained in:
dan sinclair
2022-04-20 00:58:34 +00:00
committed by Dawn LUCI CQ
parent 4d6dfd5597
commit 13e9699b1c
374 changed files with 833 additions and 184 deletions

View File

@@ -15,6 +15,8 @@
#include "dawn/native/opengl/BackendGL.h"
#include <cstring>
#include <string>
#include <utility>
#include "dawn/common/GPUInfo.h"
#include "dawn/common/Log.h"

View File

@@ -15,6 +15,8 @@
#ifndef SRC_DAWN_NATIVE_OPENGL_BACKENDGL_H_
#define SRC_DAWN_NATIVE_OPENGL_BACKENDGL_H_
#include <vector>
#include "dawn/native/BackendConnection.h"
namespace dawn::native::opengl {

View File

@@ -14,6 +14,10 @@
#include "dawn/native/opengl/BufferGL.h"
#include <algorithm>
#include <utility>
#include <vector>
#include "dawn/native/CommandBuffer.h"
#include "dawn/native/opengl/DeviceGL.h"

View File

@@ -14,7 +14,9 @@
#include "dawn/native/opengl/CommandBufferGL.h"
#include <algorithm>
#include <cstring>
#include <vector>
#include "dawn/native/BindGroup.h"
#include "dawn/native/BindGroupTracker.h"

View File

@@ -15,7 +15,9 @@
#ifndef SRC_DAWN_NATIVE_OPENGL_DEVICEGL_H_
#define SRC_DAWN_NATIVE_OPENGL_DEVICEGL_H_
#include <memory>
#include <queue>
#include <utility>
#include "dawn/native/dawn_platform.h"

View File

@@ -15,6 +15,7 @@
#ifndef SRC_DAWN_NATIVE_OPENGL_OPENGLFUNCTIONS_H_
#define SRC_DAWN_NATIVE_OPENGL_OPENGLFUNCTIONS_H_
#include <string>
#include <unordered_set>
#include "dawn/native/opengl/OpenGLFunctionsBase_autogen.h"

View File

@@ -15,6 +15,7 @@
#include "dawn/native/opengl/OpenGLVersion.h"
#include <cctype>
#include <string>
#include <tuple>
namespace dawn::native::opengl {

View File

@@ -16,6 +16,7 @@
#include <set>
#include <sstream>
#include <string>
#include "dawn/common/BitSetIterator.h"
#include "dawn/native/BindGroupLayout.h"

View File

@@ -15,6 +15,7 @@
#include "dawn/native/opengl/ShaderModuleGL.h"
#include <sstream>
#include <utility>
#include "dawn/native/BindGroupLayout.h"
#include "dawn/native/TintUtils.h"

View File

@@ -15,6 +15,11 @@
#ifndef SRC_DAWN_NATIVE_OPENGL_SHADERMODULEGL_H_
#define SRC_DAWN_NATIVE_OPENGL_SHADERMODULEGL_H_
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
#include "dawn/native/ShaderModule.h"
#include "dawn/native/opengl/opengl_platform.h"

View File

@@ -14,6 +14,8 @@
#include "dawn/native/opengl/TextureGL.h"
#include <limits>
#include "dawn/common/Assert.h"
#include "dawn/common/Constants.h"
#include "dawn/common/Math.h"