From 9bf50e124a5be374ca87112a7556e75a62beb4e3 Mon Sep 17 00:00:00 2001 From: dendron2000 Date: Tue, 26 Feb 2019 14:27:14 +0000 Subject: [PATCH] Fix compiling without global optimization. --- renderdoc/driver/d3d12/d3d12_command_list1_wrap.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/renderdoc/driver/d3d12/d3d12_command_list1_wrap.cpp b/renderdoc/driver/d3d12/d3d12_command_list1_wrap.cpp index 1004e77d3..644fb0ba8 100644 --- a/renderdoc/driver/d3d12/d3d12_command_list1_wrap.cpp +++ b/renderdoc/driver/d3d12/d3d12_command_list1_wrap.cpp @@ -23,6 +23,7 @@ ******************************************************************************/ #include "d3d12_command_list.h" +#include "driver/dxgi/dxgi_common.h" template bool WrappedID3D12GraphicsCommandList::Serialise_AtomicCopyBufferUINT( @@ -596,4 +597,4 @@ INSTANTIATE_FUNCTION_SERIALISED(void, WrappedID3D12GraphicsCommandList, ResolveS D3D12_RECT *pSrcRect, DXGI_FORMAT Format, D3D12_RESOLVE_MODE ResolveMode); INSTANTIATE_FUNCTION_SERIALISED(void, WrappedID3D12GraphicsCommandList, SetViewInstanceMask, - UINT Mask); \ No newline at end of file + UINT Mask);