mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-19 01:46:35 +00:00
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:
committed by
Dawn LUCI CQ
parent
4d6dfd5597
commit
13e9699b1c
@@ -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"
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include "dawn/native/opengl/OpenGLVersion.h"
|
||||
|
||||
#include <cctype>
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
|
||||
namespace dawn::native::opengl {
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
#include "dawn/common/BitSetIterator.h"
|
||||
#include "dawn/native/BindGroupLayout.h"
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include "dawn/native/opengl/ShaderModuleGL.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/native/BindGroupLayout.h"
|
||||
#include "dawn/native/TintUtils.h"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user