From ba9e1ff86fa47141fc25a5d1569b13cb5ec916a9 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Mon, 14 Oct 2019 14:24:50 +0000 Subject: [PATCH] Fix compilation in MSVC that was missing a include BUG= Change-Id: I3090fec89bb9dd39d28997cb58943643e8c7ed6f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12182 Reviewed-by: Corentin Wallez Commit-Queue: Corentin Wallez --- src/dawn_native/d3d12/ResourceHeapAllocationD3D12.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dawn_native/d3d12/ResourceHeapAllocationD3D12.cpp b/src/dawn_native/d3d12/ResourceHeapAllocationD3D12.cpp index a55983493d..158e8900d1 100644 --- a/src/dawn_native/d3d12/ResourceHeapAllocationD3D12.cpp +++ b/src/dawn_native/d3d12/ResourceHeapAllocationD3D12.cpp @@ -14,6 +14,8 @@ #include "dawn_native/d3d12/ResourceHeapAllocationD3D12.h" +#include + namespace dawn_native { namespace d3d12 { ResourceHeapAllocation::ResourceHeapAllocation(const AllocationInfo& info, uint64_t offset, @@ -28,4 +30,4 @@ namespace dawn_native { namespace d3d12 { D3D12_GPU_VIRTUAL_ADDRESS ResourceHeapAllocation::GetGPUPointer() const { return mResource->GetGPUVirtualAddress(); } -}} // namespace dawn_native::d3d12 \ No newline at end of file +}} // namespace dawn_native::d3d12