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:
parent
4d6dfd5597
commit
13e9699b1c
|
@ -1,4 +1,3 @@
|
|||
filter=-build/include_what_you_use
|
||||
filter=-build/namespaces
|
||||
filter=-readability/casting
|
||||
filter=-readability/namespace
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/common/DynamicLib.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/Platform.h"
|
||||
|
||||
#if DAWN_PLATFORM_WINDOWS
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include "dawn/common/Log.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include <string>
|
||||
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn/common/Platform.h"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#ifndef SRC_DAWN_COMMON_SERIALQUEUE_H_
|
||||
#define SRC_DAWN_COMMON_SERIALQUEUE_H_
|
||||
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/SerialStorage.h"
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#define SRC_DAWN_COMMON_STACKCONTAINER_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/Compiler.h"
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/Platform.h"
|
||||
|
||||
|
|
|
@ -118,7 +118,7 @@ namespace detail {
|
|||
}
|
||||
|
||||
constexpr TypedIntegerImpl& operator--() {
|
||||
assert(this->mValue > std::numeric_limits<T>::min());
|
||||
ASSERT(this->mValue > std::numeric_limits<T>::min());
|
||||
--this->mValue;
|
||||
return *this;
|
||||
}
|
||||
|
|
|
@ -17,7 +17,9 @@
|
|||
|
||||
#include <array>
|
||||
#include <cstddef>
|
||||
#include <limits>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/TypedInteger.h"
|
||||
#include "dawn/common/UnderlyingType.h"
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
#ifndef SRC_DAWN_COMMON_ITYP_STACK_VEC_H_
|
||||
#define SRC_DAWN_COMMON_ITYP_STACK_VEC_H_
|
||||
|
||||
#include <limits>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn/common/StackContainer.h"
|
||||
#include "dawn/common/UnderlyingType.h"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#ifndef SRC_DAWN_COMMON_ITYP_VECTOR_H_
|
||||
#define SRC_DAWN_COMMON_ITYP_VECTOR_H_
|
||||
|
||||
#include <limits>
|
||||
#include <type_traits>
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -12,8 +12,9 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "DawnWireServerFuzzer.h"
|
||||
#include <vector>
|
||||
|
||||
#include "DawnWireServerFuzzer.h"
|
||||
#include "dawn/native/DawnNative.h"
|
||||
#include "testing/libfuzzer/libfuzzer_exports.h"
|
||||
|
||||
|
|
|
@ -12,8 +12,9 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "DawnWireServerFuzzer.h"
|
||||
#include <vector>
|
||||
|
||||
#include "DawnWireServerFuzzer.h"
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn/native/DawnNative.h"
|
||||
#include "testing/libfuzzer/libfuzzer_exports.h"
|
||||
|
|
|
@ -12,8 +12,9 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "DawnWireServerFuzzer.h"
|
||||
#include <vector>
|
||||
|
||||
#include "DawnWireServerFuzzer.h"
|
||||
#include "dawn/native/DawnNative.h"
|
||||
#include "testing/libfuzzer/libfuzzer_exports.h"
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include "dawn/fuzzers/DawnWireServerFuzzer.h"
|
||||
|
||||
#include <fstream>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/Assert.h"
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
|
||||
#include "dawn/native/Adapter.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
|
||||
#include "dawn/common/Constants.h"
|
||||
#include "dawn/native/Device.h"
|
||||
#include "dawn/native/Instance.h"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/AsyncTask.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/platform/DawnPlatform.h"
|
||||
|
||||
namespace dawn::native {
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#define SRC_DAWN_NATIVE_BACKENDCONNECTION_H_
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/native/Adapter.h"
|
||||
#include "dawn/native/DawnNative.h"
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#define SRC_DAWN_NATIVE_BINDGROUP_H_
|
||||
|
||||
#include <array>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/Constants.h"
|
||||
#include "dawn/common/Math.h"
|
||||
|
|
|
@ -16,10 +16,11 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <limits>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/BitSetIterator.h"
|
||||
|
||||
#include "dawn/native/ChainUtils_autogen.h"
|
||||
#include "dawn/native/Device.h"
|
||||
#include "dawn/native/ObjectBase.h"
|
||||
|
|
|
@ -15,8 +15,10 @@
|
|||
#ifndef SRC_DAWN_NATIVE_BINDGROUPLAYOUT_H_
|
||||
#define SRC_DAWN_NATIVE_BINDGROUPLAYOUT_H_
|
||||
|
||||
#include <algorithm>
|
||||
#include <bitset>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
#include "dawn/common/Constants.h"
|
||||
#include "dawn/common/Math.h"
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#define SRC_DAWN_NATIVE_BINDINGINFO_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/Constants.h"
|
||||
#include "dawn/common/ityp_array.h"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/BuddyMemoryAllocator.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/Math.h"
|
||||
#include "dawn/native/ResourceHeapAllocator.h"
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <limits>
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/Alloc.h"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/CallbackTaskManager.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
namespace dawn::native {
|
||||
|
||||
bool CallbackTaskManager::IsEmpty() {
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <limits>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/Assert.h"
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#ifndef SRC_DAWN_NATIVE_COMMANDBUFFERSTATETRACKER_H_
|
||||
#define SRC_DAWN_NATIVE_COMMANDBUFFERSTATETRACKER_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/Constants.h"
|
||||
#include "dawn/common/ityp_array.h"
|
||||
#include "dawn/common/ityp_bitset.h"
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
|
||||
#include "dawn/native/CommandEncoder.h"
|
||||
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/BitSetIterator.h"
|
||||
#include "dawn/common/Math.h"
|
||||
#include "dawn/native/BindGroup.h"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#ifndef SRC_DAWN_NATIVE_COMMANDENCODER_H_
|
||||
#define SRC_DAWN_NATIVE_COMMANDENCODER_H_
|
||||
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
||||
#include "dawn/native/dawn_platform.h"
|
||||
|
|
|
@ -14,6 +14,10 @@
|
|||
|
||||
#include "dawn/native/CommandValidation.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/BitSetIterator.h"
|
||||
#include "dawn/native/BindGroup.h"
|
||||
#include "dawn/native/Buffer.h"
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
#include <array>
|
||||
#include <bitset>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/Constants.h"
|
||||
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
#ifndef SRC_DAWN_NATIVE_COMPUTEPASSENCODER_H_
|
||||
#define SRC_DAWN_NATIVE_COMPUTEPASSENCODER_H_
|
||||
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/native/CommandBufferStateTracker.h"
|
||||
#include "dawn/native/Error.h"
|
||||
#include "dawn/native/Forward.h"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include "dawn/native/CopyTextureForBrowserHelper.h"
|
||||
|
||||
#include <unordered_set>
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/Log.h"
|
||||
#include "dawn/native/BindGroup.h"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/CreatePipelineAsyncTask.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/native/AsyncTask.h"
|
||||
#include "dawn/native/ComputePipeline.h"
|
||||
#include "dawn/native/Device.h"
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
#ifndef SRC_DAWN_NATIVE_CREATEPIPELINEASYNCTASK_H_
|
||||
#define SRC_DAWN_NATIVE_CREATEPIPELINEASYNCTASK_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "dawn/common/RefCounted.h"
|
||||
#include "dawn/native/CallbackTaskManager.h"
|
||||
#include "dawn/native/Error.h"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/DawnNative.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/Log.h"
|
||||
#include "dawn/native/BindGroupLayout.h"
|
||||
#include "dawn/native/Buffer.h"
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
#include "dawn/native/Device.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <mutex>
|
||||
#include <unordered_set>
|
||||
|
|
|
@ -15,8 +15,11 @@
|
|||
#ifndef SRC_DAWN_NATIVE_DEVICE_H_
|
||||
#define SRC_DAWN_NATIVE_DEVICE_H_
|
||||
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/native/CacheKey.h"
|
||||
#include "dawn/native/Commands.h"
|
||||
|
|
|
@ -13,6 +13,9 @@
|
|||
// limitations under the License.
|
||||
|
||||
#include "dawn/native/DynamicUploader.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/Math.h"
|
||||
#include "dawn/native/Device.h"
|
||||
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
#ifndef SRC_DAWN_NATIVE_DYNAMICUPLOADER_H_
|
||||
#define SRC_DAWN_NATIVE_DYNAMICUPLOADER_H_
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/native/Forward.h"
|
||||
#include "dawn/native/IntegerTypes.h"
|
||||
#include "dawn/native/RingBufferAllocator.h"
|
||||
|
|
|
@ -15,7 +15,10 @@
|
|||
#ifndef SRC_DAWN_NATIVE_ENCODINGCONTEXT_H_
|
||||
#define SRC_DAWN_NATIVE_ENCODINGCONTEXT_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/native/CommandAllocator.h"
|
||||
#include "dawn/native/Error.h"
|
||||
|
|
|
@ -15,7 +15,9 @@
|
|||
#ifndef SRC_DAWN_NATIVE_ERROR_H_
|
||||
#define SRC_DAWN_NATIVE_ERROR_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include "absl/strings/str_format.h"
|
||||
#include "dawn/common/Result.h"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/ErrorData.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/native/Error.h"
|
||||
#include "dawn/native/ObjectBase.h"
|
||||
#include "dawn/native/dawn_platform.h"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/ErrorScope.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/Assert.h"
|
||||
|
||||
namespace dawn::native {
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/ExternalTexture.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/native/Buffer.h"
|
||||
#include "dawn/native/Device.h"
|
||||
#include "dawn/native/ObjectType_autogen.h"
|
||||
|
|
|
@ -12,11 +12,13 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "dawn/native/Features.h"
|
||||
|
||||
#include <array>
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn/common/BitSetIterator.h"
|
||||
#include "dawn/native/Features.h"
|
||||
|
||||
namespace dawn::native {
|
||||
namespace {
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#define SRC_DAWN_NATIVE_FEATURES_H_
|
||||
|
||||
#include <bitset>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -14,8 +14,12 @@
|
|||
|
||||
#include "dawn/native/IndirectDrawValidationEncoder.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdlib>
|
||||
#include <limits>
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/Constants.h"
|
||||
#include "dawn/common/Math.h"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/Instance.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn/common/GPUInfo.h"
|
||||
#include "dawn/common/Log.h"
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
#include <array>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
#define SRC_DAWN_NATIVE_PASSRESOURCEUSAGETRACKER_H_
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/native/PassResourceUsage.h"
|
||||
|
||||
|
|
|
@ -15,7 +15,9 @@
|
|||
#ifndef SRC_DAWN_NATIVE_PERSISTENTCACHE_H_
|
||||
#define SRC_DAWN_NATIVE_PERSISTENTCACHE_H_
|
||||
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/native/Error.h"
|
||||
|
|
|
@ -14,6 +14,10 @@
|
|||
|
||||
#include "dawn/native/Pipeline.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <unordered_set>
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/native/BindGroupLayout.h"
|
||||
#include "dawn/native/Device.h"
|
||||
#include "dawn/native/ObjectBase.h"
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include <array>
|
||||
#include <bitset>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/native/CachedObject.h"
|
||||
#include "dawn/native/Forward.h"
|
||||
|
|
|
@ -14,6 +14,10 @@
|
|||
|
||||
#include "dawn/native/PipelineLayout.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn/common/BitSetIterator.h"
|
||||
#include "dawn/common/ityp_stack_vec.h"
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
|
||||
#include <array>
|
||||
#include <bitset>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/Constants.h"
|
||||
#include "dawn/common/ityp_array.h"
|
||||
|
|
|
@ -13,6 +13,9 @@
|
|||
// limitations under the License.
|
||||
|
||||
#include "dawn/native/PooledResourceMemoryAllocator.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/native/Device.h"
|
||||
|
||||
namespace dawn::native {
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#define SRC_DAWN_NATIVE_POOLEDRESOURCEMEMORYALLOCATOR_H_
|
||||
|
||||
#include <deque>
|
||||
#include <memory>
|
||||
|
||||
#include "dawn/common/SerialQueue.h"
|
||||
#include "dawn/native/ResourceHeapAllocator.h"
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
#include "dawn/native/QueryHelper.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
|
||||
#include "dawn/native/BindGroup.h"
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#ifndef SRC_DAWN_NATIVE_QUERYSET_H_
|
||||
#define SRC_DAWN_NATIVE_QUERYSET_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/native/Error.h"
|
||||
#include "dawn/native/Forward.h"
|
||||
#include "dawn/native/ObjectBase.h"
|
||||
|
|
|
@ -14,7 +14,10 @@
|
|||
|
||||
#include "dawn/native/Queue.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/Constants.h"
|
||||
#include "dawn/native/Buffer.h"
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#ifndef SRC_DAWN_NATIVE_QUEUE_H_
|
||||
#define SRC_DAWN_NATIVE_QUEUE_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "dawn/common/SerialQueue.h"
|
||||
#include "dawn/native/Error.h"
|
||||
#include "dawn/native/Forward.h"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/RenderBundle.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/BitSetIterator.h"
|
||||
#include "dawn/native/Commands.h"
|
||||
#include "dawn/native/Device.h"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/RenderBundleEncoder.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/native/CommandValidation.h"
|
||||
#include "dawn/native/Commands.h"
|
||||
#include "dawn/native/Device.h"
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
#include <math.h>
|
||||
#include <cstring>
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/Constants.h"
|
||||
#include "dawn/common/Log.h"
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
#include <math.h>
|
||||
#include <cstring>
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/Constants.h"
|
||||
#include "dawn/native/Buffer.h"
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#ifndef SRC_DAWN_NATIVE_RENDERPASSENCODER_H_
|
||||
#define SRC_DAWN_NATIVE_RENDERPASSENCODER_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/native/Error.h"
|
||||
#include "dawn/native/Forward.h"
|
||||
#include "dawn/native/RenderEncoderBase.h"
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
#include "dawn/native/RenderPipeline.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <sstream>
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
#include <array>
|
||||
#include <bitset>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/TypedInteger.h"
|
||||
#include "dawn/native/AttachmentState.h"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/RingBufferAllocator.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
// Note: Current RingBufferAllocator implementation uses two indices (start and end) to implement a
|
||||
// circular queue. However, this approach defines a full queue when one element is still unused.
|
||||
//
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
#include "dawn/native/ShaderModule.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
|
||||
#include "absl/strings/str_format.h"
|
||||
|
|
|
@ -17,8 +17,11 @@
|
|||
|
||||
#include <bitset>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/Constants.h"
|
||||
|
|
|
@ -15,7 +15,9 @@
|
|||
#include "dawn/native/SpirvValidation.h"
|
||||
|
||||
#include <spirv-tools/libspirv.hpp>
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
#include "dawn/native/Device.h"
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#define SRC_DAWN_NATIVE_TOGGLES_H_
|
||||
|
||||
#include <bitset>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/d3d12/BackendD3D12.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/native/D3D12Backend.h"
|
||||
#include "dawn/native/Instance.h"
|
||||
#include "dawn/native/d3d12/AdapterD3D12.h"
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
#ifndef SRC_DAWN_NATIVE_D3D12_BACKENDD3D12_H_
|
||||
#define SRC_DAWN_NATIVE_D3D12_BACKENDD3D12_H_
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/native/BackendConnection.h"
|
||||
|
||||
#include "dawn/native/d3d12/d3d12_platform.h"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/d3d12/BindGroupD3D12.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/BitSetIterator.h"
|
||||
#include "dawn/native/ExternalTexture.h"
|
||||
#include "dawn/native/d3d12/BindGroupLayoutD3D12.h"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/d3d12/BindGroupLayoutD3D12.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/BitSetIterator.h"
|
||||
#include "dawn/native/d3d12/BindGroupD3D12.h"
|
||||
#include "dawn/native/d3d12/DeviceD3D12.h"
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#ifndef SRC_DAWN_NATIVE_D3D12_BINDGROUPLAYOUTD3D12_H_
|
||||
#define SRC_DAWN_NATIVE_D3D12_BINDGROUPLAYOUTD3D12_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/native/BindGroupLayout.h"
|
||||
|
||||
#include "dawn/common/SlabAllocator.h"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/d3d12/BufferD3D12.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn/common/Constants.h"
|
||||
#include "dawn/common/Math.h"
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#ifndef SRC_DAWN_NATIVE_D3D12_BUFFERD3D12_H_
|
||||
#define SRC_DAWN_NATIVE_D3D12_BUFFERD3D12_H_
|
||||
|
||||
#include <limits>
|
||||
|
||||
#include "dawn/native/Buffer.h"
|
||||
|
||||
#include "dawn/native/d3d12/ResourceHeapAllocationD3D12.h"
|
||||
|
|
|
@ -14,6 +14,10 @@
|
|||
|
||||
#include "dawn/native/d3d12/CommandBufferD3D12.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/native/BindGroupTracker.h"
|
||||
#include "dawn/native/CommandValidation.h"
|
||||
#include "dawn/native/DynamicUploader.h"
|
||||
|
|
|
@ -11,11 +11,15 @@
|
|||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "dawn/native/d3d12/CommandRecordingContext.h"
|
||||
|
||||
#include <profileapi.h>
|
||||
#include <sysinfoapi.h>
|
||||
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/native/d3d12/CommandAllocatorManager.h"
|
||||
#include "dawn/native/d3d12/D3D12Error.h"
|
||||
#include "dawn/native/d3d12/DeviceD3D12.h"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#define SRC_DAWN_NATIVE_D3D12_COMMANDRECORDINGCONTEXT_H_
|
||||
|
||||
#include <set>
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/native/Error.h"
|
||||
#include "dawn/native/IntegerTypes.h"
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
|
||||
#include "dawn/native/d3d12/ComputePipelineD3D12.h"
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/native/CreatePipelineAsyncTask.h"
|
||||
#include "dawn/native/d3d12/D3D12Error.h"
|
||||
#include "dawn/native/d3d12/DeviceD3D12.h"
|
||||
|
|
|
@ -17,11 +17,12 @@
|
|||
|
||||
#include "dawn/native/d3d12/D3D11on12Util.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/HashUtils.h"
|
||||
#include "dawn/common/Log.h"
|
||||
#include "dawn/native/d3d12/D3D12Error.h"
|
||||
#include "dawn/native/d3d12/DeviceD3D12.h"
|
||||
|
||||
#include "dawn/native/D3D12Backend.h"
|
||||
|
||||
namespace dawn::native::d3d12 {
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
#include "dawn/native/D3D12Backend.h"
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/Log.h"
|
||||
#include "dawn/common/Math.h"
|
||||
#include "dawn/common/SwapChainUtils.h"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/d3d12/D3D12Info.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/GPUInfo.h"
|
||||
#include "dawn/native/d3d12/AdapterD3D12.h"
|
||||
#include "dawn/native/d3d12/BackendD3D12.h"
|
||||
|
|
|
@ -14,7 +14,10 @@
|
|||
|
||||
#include "dawn/native/d3d12/DeviceD3D12.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
#include <sstream>
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/GPUInfo.h"
|
||||
#include "dawn/native/DynamicUploader.h"
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#ifndef SRC_DAWN_NATIVE_D3D12_DEVICED3D12_H_
|
||||
#define SRC_DAWN_NATIVE_D3D12_DEVICED3D12_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "dawn/common/SerialQueue.h"
|
||||
#include "dawn/native/Device.h"
|
||||
#include "dawn/native/d3d12/CommandRecordingContext.h"
|
||||
|
|
|
@ -13,6 +13,9 @@
|
|||
// limitations under the License.
|
||||
|
||||
#include "dawn/native/d3d12/HeapAllocatorD3D12.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/native/d3d12/D3D12Error.h"
|
||||
#include "dawn/native/d3d12/DeviceD3D12.h"
|
||||
#include "dawn/native/d3d12/HeapD3D12.h"
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#ifndef SRC_DAWN_NATIVE_D3D12_HEAPALLOCATORD3D12_H_
|
||||
#define SRC_DAWN_NATIVE_D3D12_HEAPALLOCATORD3D12_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "dawn/native/D3D12Backend.h"
|
||||
#include "dawn/native/ResourceHeapAllocator.h"
|
||||
#include "dawn/native/d3d12/d3d12_platform.h"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/d3d12/HeapD3D12.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
namespace dawn::native::d3d12 {
|
||||
Heap::Heap(ComPtr<ID3D12Pageable> d3d12Pageable, MemorySegment memorySegment, uint64_t size)
|
||||
: Pageable(std::move(d3d12Pageable), memorySegment, size) {
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/d3d12/PageableD3D12.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
namespace dawn::native::d3d12 {
|
||||
Pageable::Pageable(ComPtr<ID3D12Pageable> d3d12Pageable,
|
||||
MemorySegment memorySegment,
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
// limitations under the License.
|
||||
|
||||
#include "dawn/native/d3d12/PipelineLayoutD3D12.h"
|
||||
|
||||
#include <limits>
|
||||
#include <sstream>
|
||||
|
||||
#include "dawn/common/Assert.h"
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#ifndef SRC_DAWN_NATIVE_D3D12_PIPELINELAYOUTD3D12_H_
|
||||
#define SRC_DAWN_NATIVE_D3D12_PIPELINELAYOUTD3D12_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "dawn/common/Constants.h"
|
||||
#include "dawn/common/ityp_array.h"
|
||||
#include "dawn/native/BindingInfo.h"
|
||||
|
|
|
@ -15,8 +15,11 @@
|
|||
#include "dawn/native/d3d12/PlatformFunctions.h"
|
||||
|
||||
#include <comdef.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <sstream>
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/DynamicLib.h"
|
||||
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
|
||||
#include <d3dcompiler.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "dawn/native/d3d12/d3d12_platform.h"
|
||||
|
||||
#include "dawn/common/DynamicLib.h"
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "dawn/native/d3d12/QuerySetD3D12.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "dawn/native/d3d12/D3D12Error.h"
|
||||
#include "dawn/native/d3d12/DeviceD3D12.h"
|
||||
#include "dawn/native/d3d12/UtilsD3D12.h"
|
||||
|
|
|
@ -14,11 +14,12 @@
|
|||
|
||||
#include "dawn/native/d3d12/RenderPassBuilderD3D12.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "dawn/native/Format.h"
|
||||
#include "dawn/native/d3d12/CommandBufferD3D12.h"
|
||||
#include "dawn/native/d3d12/Forward.h"
|
||||
#include "dawn/native/d3d12/TextureD3D12.h"
|
||||
|
||||
#include "dawn/native/dawn_platform.h"
|
||||
|
||||
namespace dawn::native::d3d12 {
|
||||
|
|
|
@ -16,6 +16,9 @@
|
|||
|
||||
#include <d3dcompiler.h>
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "dawn/common/Assert.h"
|
||||
#include "dawn/common/Log.h"
|
||||
#include "dawn/native/CreatePipelineAsyncTask.h"
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue