From d758e32610cb8b8b8792570d0d0a7b44b530ff03 Mon Sep 17 00:00:00 2001 From: Stephen White Date: Mon, 3 Dec 2018 14:28:04 +0000 Subject: [PATCH] Add some missing #includes. MSC needs for memcpy(). Change-Id: I1987ae29af32abe3d9e23a0a3cfd373aca22095d Reviewed-on: https://dawn-review.googlesource.com/c/2820 Reviewed-by: Corentin Wallez Commit-Queue: Stephen White --- src/dawn_native/ProgrammablePassEncoder.cpp | 2 ++ src/dawn_native/RenderPassEncoder.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/dawn_native/ProgrammablePassEncoder.cpp b/src/dawn_native/ProgrammablePassEncoder.cpp index 2f042f80a8..f4c85619e7 100644 --- a/src/dawn_native/ProgrammablePassEncoder.cpp +++ b/src/dawn_native/ProgrammablePassEncoder.cpp @@ -18,6 +18,8 @@ #include "dawn_native/CommandBuffer.h" #include "dawn_native/Commands.h" +#include + namespace dawn_native { ProgrammablePassEncoder::ProgrammablePassEncoder(DeviceBase* device, diff --git a/src/dawn_native/RenderPassEncoder.cpp b/src/dawn_native/RenderPassEncoder.cpp index 6e4ec81376..e8f8ac501b 100644 --- a/src/dawn_native/RenderPassEncoder.cpp +++ b/src/dawn_native/RenderPassEncoder.cpp @@ -19,6 +19,8 @@ #include "dawn_native/Commands.h" #include "dawn_native/RenderPipeline.h" +#include + namespace dawn_native { RenderPassEncoderBase::RenderPassEncoderBase(DeviceBase* device,