!F (Profiling) (DEV-7171) Added support for PIX profiler on Windows.
[CRYENGINE.git] / Code / CryEngine / RenderDll / XRenderD3D9 / CMakeLists.txt
blobe7d5932109bc1df41dda8bfd2ecf55a75303d609
1 #START-FILE-LIST
2 # File List auto generated by waf2cmake.py, do not modify manually.
4 start_sources()
5 # -- DXGL/opengl_loader_gles2.waf_files --
6 sources_platform(ANDROID)
7 add_sources("NoUberFile"
8         PROJECTS CryRenderOpenGL
9         SOURCE_GROUP "DXGL\\\\Specification"
10                 "DXGL/Specification/glad_gles2.c"
11                 "DXGL/Specification/glad_gles2.h"
14 # -- DX11/durango_renderer.waf_files --
15 sources_platform(DURANGO)
16 add_sources("CryRenderer_uber_5_dur_dx11.cpp"
17         PROJECTS CryRenderD3D11
18         SOURCE_GROUP "DeviceManager\\\\D3D11"
19                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.h"
20                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.inl"
21                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.cpp"
22                 "DeviceManager/D3D11/DeviceObjects_D3D11.inl"
23                 "DeviceManager/D3D11/DeviceObjects_D3D11.cpp"
24                 "DeviceManager/D3D11/DeviceResources_D3D11.inl"
25                 "DeviceManager/D3D11/DeviceResources_D3D11_NVAPI.h"
26                 "DeviceManager/D3D11/DeviceResources_D3D11_NVAPI.inl"
27                 "DeviceManager/D3D11/DeviceCommandList_D3D11.h"
28                 "DeviceManager/D3D11/DeviceWrapper_D3D11_Logging.cpp"
29                 "DeviceManager/D3D11/DeviceWrapper_D3D11_MemReplay.h"
30                 "DeviceManager/D3D11/DeviceWrapper_D3D11_MemReplay.cpp"
31                 "DeviceManager/D3D11/DeviceResourceSet_D3D11.h"
32                 "DeviceManager/D3D11/DeviceResourceSet_D3D11.cpp"
33                 "DeviceManager/D3D11/DeviceCommandListCommon_D3D11.h"
34                 "DeviceManager/D3D11/DeviceCommandListCommon_D3D11.cpp"
35                 "DeviceManager/D3D11/DevicePSO_D3D11.h"
36                 "DeviceManager/D3D11/DevicePSO_D3D11.cpp"
37                 "DeviceManager/D3D11/DeviceRenderPass_D3D11.h"
38                 "DeviceManager/D3D11/DeviceRenderPass_D3D11.cpp"
41 add_sources("CryRenderer_uber_5_dx11_dur.cpp"
42         PROJECTS CryRenderD3D11
43         SOURCE_GROUP "DeviceManager\\\\D3D11"
44                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11_Durango.inl"
45                 "DeviceManager/D3D11/DeviceObjects_D3D11_Durango.h"
46                 "DeviceManager/D3D11/DeviceObjects_D3D11_Durango.cpp"
47                 "DeviceManager/D3D11/DeviceResources_D3D11_Durango.inl"
50 # -- DXGL/opengl_loader_wgl.waf_files --
51 sources_platform(WINDOWS)
52 add_sources("NoUberFile"
53         PROJECTS CryRenderOpenGL
54         SOURCE_GROUP "DXGL\\\\Specification"
55                 "DXGL/Specification/glad_wgl.c"
56                 "DXGL/Specification/glad_wgl.h"
59 # -- DXGL/opengl_loader_gl.waf_files --
60 sources_platform(LINUX WINDOWS)
61 add_sources("NoUberFile"
62         PROJECTS CryRenderOpenGL
63         SOURCE_GROUP "DXGL\\\\Specification"
64                 "DXGL/Specification/glad_gl.c"
65                 "DXGL/Specification/glad_gl.h"
68 # -- DXGL/opengl_loader_glx.waf_files --
69 sources_platform(LINUX)
70 add_sources("NoUberFile"
71         PROJECTS CryRenderOpenGL
72         SOURCE_GROUP "DXGL\\\\Specification"
73                 "DXGL/Specification/glad_glx.c"
74                 "DXGL/Specification/glad_glx.h"
77 # -- DXGL/opengl_renderer.waf_files --
78 sources_platform(ALL)
79 add_sources("CryRenderer_uber_5_ogl_dx11.cpp"
80         PROJECTS CryRenderOpenGL
81         SOURCE_GROUP "DeviceManager\\\\D3D11"
82                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.h"
83                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.inl"
84                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.cpp"
85                 "DeviceManager/D3D11/DeviceObjects_D3D11.inl"
86                 "DeviceManager/D3D11/DeviceObjects_D3D11.cpp"
87                 "DeviceManager/D3D11/DeviceResources_D3D11.inl"
88                 "DeviceManager/D3D11/DeviceResources_D3D11_NVAPI.h"
89                 "DeviceManager/D3D11/DeviceResources_D3D11_NVAPI.inl"
90                 "DeviceManager/D3D11/DeviceCommandList_D3D11.h"
91                 "DeviceManager/D3D11/DeviceWrapper_D3D11_Logging.cpp"
92                 "DeviceManager/D3D11/DeviceWrapper_D3D11_MemReplay.h"
93                 "DeviceManager/D3D11/DeviceWrapper_D3D11_MemReplay.cpp"
94                 "DeviceManager/D3D11/DeviceResourceSet_D3D11.h"
95                 "DeviceManager/D3D11/DeviceResourceSet_D3D11.cpp"
96                 "DeviceManager/D3D11/DeviceCommandListCommon_D3D11.h"
97                 "DeviceManager/D3D11/DeviceCommandListCommon_D3D11.cpp"
98                 "DeviceManager/D3D11/DevicePSO_D3D11.h"
99                 "DeviceManager/D3D11/DevicePSO_D3D11.cpp"
100                 "DeviceManager/D3D11/DeviceRenderPass_D3D11.h"
101                 "DeviceManager/D3D11/DeviceRenderPass_D3D11.cpp"
104 add_sources("NoUberFile"
105         PROJECTS CryRenderOpenGL
106         SOURCE_GROUP "DXGL"
107                 "DXGL/CryDXGL.cpp"
108                 "DXGL/CryDXGL.hpp"
109         SOURCE_GROUP "DXGL\\\\Definitions"
110                 "DXGL/Definitions/CryDXGLGuid.hpp"
111                 "DXGL/Definitions/CryDXGLLegacy.hpp"
112                 "DXGL/Definitions/CryDXGLMisc.hpp"
113                 "DXGL/Definitions/DXGL_D3D11.h"
114                 "DXGL/Definitions/DXGL_D3D11Shader.h"
115                 "DXGL/Definitions/DXGL_D3DCommon.h"
116                 "DXGL/Definitions/DXGL_D3DCompiler.h"
117                 "DXGL/Definitions/DXGL_D3DX11.h"
118                 "DXGL/Definitions/DXGL_D3DX11tex.h"
119                 "DXGL/Definitions/DXGL_DXGIFormat.h"
120                 "DXGL/Definitions/DXGL_ID3D11Device.h"
121                 "DXGL/Definitions/DXGL_ID3D11DeviceContext.h"
122                 "DXGL/Definitions/DXGL_IDXGIFactory1.h"
123                 "DXGL/Definitions/DXGL_IDXGISwapChain.h"
124                 "DXGL/Definitions/DXGL_dxgi.h"
125                 "DXGL/Definitions/DXGL_dxgitype.h"
126                 "DXGL/Definitions/ICryDXGLUnknown.hpp"
127         SOURCE_GROUP "DXGL\\\\Implementation"
128                 "DXGL/Implementation/AppleGPUInfoUtils.h"
129                 "DXGL/Implementation/GLCommon.hpp"
130                 "DXGL/Implementation/GLContext.cpp"
131                 "DXGL/Implementation/GLContext.hpp"
132                 "DXGL/Implementation/GLCryPlatform.hpp"
133                 "DXGL/Implementation/GLDevice.cpp"
134                 "DXGL/Implementation/GLDevice.hpp"
135                 "DXGL/Implementation/GLFeatures.hpp"
136                 "DXGL/Implementation/GLFormat.cpp"
137                 "DXGL/Implementation/GLFormat.hpp"
138                 "DXGL/Implementation/GLInstrument.hpp"
139                 "DXGL/Implementation/GLPlatform.hpp"
140                 "DXGL/Implementation/GLResource.cpp"
141                 "DXGL/Implementation/GLResource.hpp"
142                 "DXGL/Implementation/GLShader.cpp"
143                 "DXGL/Implementation/GLShader.hpp"
144                 "DXGL/Implementation/GLState.cpp"
145                 "DXGL/Implementation/GLState.hpp"
146                 "DXGL/Implementation/GLView.cpp"
147                 "DXGL/Implementation/GLView.hpp"
148         SOURCE_GROUP "DXGL\\\\Interfaces"
149                 "DXGL/Interfaces/CCryDXGLBase.cpp"
150                 "DXGL/Interfaces/CCryDXGLBase.hpp"
151                 "DXGL/Interfaces/CCryDXGLBlendState.cpp"
152                 "DXGL/Interfaces/CCryDXGLBlendState.hpp"
153                 "DXGL/Interfaces/CCryDXGLBlob.cpp"
154                 "DXGL/Interfaces/CCryDXGLBlob.hpp"
155                 "DXGL/Interfaces/CCryDXGLBuffer.cpp"
156                 "DXGL/Interfaces/CCryDXGLBuffer.hpp"
157                 "DXGL/Interfaces/CCryDXGLDepthStencilState.cpp"
158                 "DXGL/Interfaces/CCryDXGLDepthStencilState.hpp"
159                 "DXGL/Interfaces/CCryDXGLDepthStencilView.cpp"
160                 "DXGL/Interfaces/CCryDXGLDepthStencilView.hpp"
161                 "DXGL/Interfaces/CCryDXGLDevice.cpp"
162                 "DXGL/Interfaces/CCryDXGLDevice.hpp"
163                 "DXGL/Interfaces/CCryDXGLDeviceChild.cpp"
164                 "DXGL/Interfaces/CCryDXGLDeviceChild.hpp"
165                 "DXGL/Interfaces/CCryDXGLDeviceContext.cpp"
166                 "DXGL/Interfaces/CCryDXGLDeviceContext.hpp"
167                 "DXGL/Interfaces/CCryDXGLGIAdapter.cpp"
168                 "DXGL/Interfaces/CCryDXGLGIAdapter.hpp"
169                 "DXGL/Interfaces/CCryDXGLGIFactory.cpp"
170                 "DXGL/Interfaces/CCryDXGLGIFactory.hpp"
171                 "DXGL/Interfaces/CCryDXGLGIObject.cpp"
172                 "DXGL/Interfaces/CCryDXGLGIObject.hpp"
173                 "DXGL/Interfaces/CCryDXGLGIOutput.cpp"
174                 "DXGL/Interfaces/CCryDXGLGIOutput.hpp"
175                 "DXGL/Interfaces/CCryDXGLInputLayout.cpp"
176                 "DXGL/Interfaces/CCryDXGLInputLayout.hpp"
177                 "DXGL/Interfaces/CCryDXGLQuery.cpp"
178                 "DXGL/Interfaces/CCryDXGLQuery.hpp"
179                 "DXGL/Interfaces/CCryDXGLRasterizerState.cpp"
180                 "DXGL/Interfaces/CCryDXGLRasterizerState.hpp"
181                 "DXGL/Interfaces/CCryDXGLRenderTargetView.cpp"
182                 "DXGL/Interfaces/CCryDXGLRenderTargetView.hpp"
183                 "DXGL/Interfaces/CCryDXGLResource.cpp"
184                 "DXGL/Interfaces/CCryDXGLResource.hpp"
185                 "DXGL/Interfaces/CCryDXGLSamplerState.cpp"
186                 "DXGL/Interfaces/CCryDXGLSamplerState.hpp"
187                 "DXGL/Interfaces/CCryDXGLShader.cpp"
188                 "DXGL/Interfaces/CCryDXGLShader.hpp"
189                 "DXGL/Interfaces/CCryDXGLShaderReflection.cpp"
190                 "DXGL/Interfaces/CCryDXGLShaderReflection.hpp"
191                 "DXGL/Interfaces/CCryDXGLShaderResourceView.cpp"
192                 "DXGL/Interfaces/CCryDXGLShaderResourceView.hpp"
193                 "DXGL/Interfaces/CCryDXGLSwapChain.cpp"
194                 "DXGL/Interfaces/CCryDXGLSwapChain.hpp"
195                 "DXGL/Interfaces/CCryDXGLSwitchToRef.cpp"
196                 "DXGL/Interfaces/CCryDXGLSwitchToRef.hpp"
197                 "DXGL/Interfaces/CCryDXGLTexture1D.cpp"
198                 "DXGL/Interfaces/CCryDXGLTexture1D.hpp"
199                 "DXGL/Interfaces/CCryDXGLTexture2D.cpp"
200                 "DXGL/Interfaces/CCryDXGLTexture2D.hpp"
201                 "DXGL/Interfaces/CCryDXGLTexture3D.cpp"
202                 "DXGL/Interfaces/CCryDXGLTexture3D.hpp"
203                 "DXGL/Interfaces/CCryDXGLTextureBase.cpp"
204                 "DXGL/Interfaces/CCryDXGLTextureBase.hpp"
205                 "DXGL/Interfaces/CCryDXGLUnorderedAccessView.cpp"
206                 "DXGL/Interfaces/CCryDXGLUnorderedAccessView.hpp"
207                 "DXGL/Interfaces/CCryDXGLView.cpp"
208                 "DXGL/Interfaces/CCryDXGLView.hpp"
209                 "DXGL/Interfaces/DXEmulation.hpp"
210         SOURCE_GROUP "Mac"
211                 "DXGL/Implementation/AppleGPUInfoUtils.mm"
214 # -- DX12/dx12_renderer.waf_files --
215 sources_platform(ALL)
216 add_sources("CryRenderer_uber_5_dx12_dx11.cpp"
217         PROJECTS CryRenderD3D12
218         SOURCE_GROUP "DeviceManager\\\\D3D11"
219                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.h"
220                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.inl"
221                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.cpp"
224 add_sources("CryRenderer_uber_5_dx12_dx12.cpp"
225         PROJECTS CryRenderD3D12
226         SOURCE_GROUP "DeviceManager\\\\D3D12"
227                 "DeviceManager/D3D12/DeviceObjects_D3D12.inl"
228                 "DeviceManager/D3D12/DeviceObjects_D3D12.cpp"
229                 "DeviceManager/D3D12/DeviceResources_D3D12.inl"
230                 "DeviceManager/D3D12/DeviceCommandList_D3D12.h"
231                 "DeviceManager/D3D12/DeviceResourceSet_D3D12.h"
232                 "DeviceManager/D3D12/DeviceResourceSet_D3D12.cpp"
233                 "DeviceManager/D3D12/DeviceCommandListCommon_D3D12.h"
234                 "DeviceManager/D3D12/DeviceCommandListCommon_D3D12.cpp"
235                 "DeviceManager/D3D12/DevicePSO_D3D12.h"
236                 "DeviceManager/D3D12/DevicePSO_D3D12.cpp"
237                 "DeviceManager/D3D12/DeviceRenderPass_D3D12.h"
238                 "DeviceManager/D3D12/DeviceRenderPass_D3D12.cpp"
241 add_sources("NoUberFile"
242         PROJECTS CryRenderD3D12
243         SOURCE_GROUP "DX12"
244                 "DX12/CCryDX12Object.cpp"
245                 "DX12/CCryDX12Object.hpp"
246                 "DX12/CryDX12.cpp"
247                 "DX12/CryDX12.hpp"
248                 "DX12/CryDX12Guid.hpp"
249         SOURCE_GROUP "DX12\\\\3rdParty"
250                 "DX12/Includes/d3d11TokenizedProgramFormat.hpp"
251                 "DX12/Includes/d3dx12.h"
252         SOURCE_GROUP "DX12\\\\API"
253                 "DX12/API/DX12Base.cpp"
254                 "DX12/API/DX12CommandScheduler.cpp"
255                 "DX12/API/DX12CommandList.cpp"
256                 "DX12/API/DX12CommandListFence.cpp"
257                 "DX12/API/DX12DescriptorHeap.cpp"
258                 "DX12/API/DX12QueryHeap.cpp"
259                 "DX12/API/DX12Device.cpp"
260                 "DX12/API/DX12PSO.cpp"
261                 "DX12/API/DX12Resource.cpp"
262                 "DX12/API/DX12RootSignature.cpp"
263                 "DX12/API/DX12Shader.cpp"
264                 "DX12/API/DX12View.cpp"
265                 "DX12/API/DX12SamplerState.cpp"
266                 "DX12/API/DX12SwapChain.cpp"
267                 "DX12/API/DX12Base.hpp"
268                 "DX12/API/DX12CommandScheduler.hpp"
269                 "DX12/API/DX12CommandList.hpp"
270                 "DX12/API/DX12CommandListFence.hpp"
271                 "DX12/API/DX12DescriptorHeap.hpp"
272                 "DX12/API/DX12QueryHeap.hpp"
273                 "DX12/API/DX12Device.hpp"
274                 "DX12/API/DX12PSO.hpp"
275                 "DX12/API/DX12Resource.hpp"
276                 "DX12/API/DX12RootSignature.hpp"
277                 "DX12/API/DX12Shader.hpp"
278                 "DX12/API/DX12View.hpp"
279                 "DX12/API/DX12SamplerState.hpp"
280                 "DX12/API/DX12SwapChain.hpp"
281                 "DX12/API/DX12AsyncCommandQueue.hpp"
282                 "DX12/API/DX12AsyncCommandQueue.cpp"
283         SOURCE_GROUP "DX12\\\\API\\\\Redirections"
284                 "DX12/API/Redirections/D3D12Device.inl"
285                 "DX12/API/Redirections/D3D12CommandAllocator.inl"
286                 "DX12/API/Redirections/D3D12CommandQueue.inl"
287                 "DX12/API/Redirections/D3D12GraphicsCommandList.inl"
288                 "DX12/API/Redirections/D3D12DescriptorHeap.inl"
289                 "DX12/API/Redirections/D3D12QueryHeap.inl"
290                 "DX12/API/Redirections/D3D12Heap.inl"
291                 "DX12/API/Redirections/D3D12Fence.inl"
292                 "DX12/API/Redirections/D3D12Resource.inl"
293         SOURCE_GROUP "DX12\\\\Device"
294                 "DX12/Device/CCryDX12Device.cpp"
295                 "DX12/Device/CCryDX12DeviceChild.cpp"
296                 "DX12/Device/CCryDX12DeviceContext.cpp"
297                 "DX12/Device/CCryDX12Device.hpp"
298                 "DX12/Device/CCryDX12DeviceChild.hpp"
299                 "DX12/Device/CCryDX12DeviceContext.hpp"
300         SOURCE_GROUP "DX12\\\\GI"
301                 "DX12/GI/CCryDX12GIAdapter.cpp"
302                 "DX12/GI/CCryDX12GIDevice.cpp"
303                 "DX12/GI/CCryDX12GIFactory.cpp"
304                 "DX12/GI/CCryDX12GIOutput.cpp"
305                 "DX12/GI/CCryDX12SwapChain.cpp"
306                 "DX12/GI/CCryDX12GIAdapter.hpp"
307                 "DX12/GI/CCryDX12GIDevice.hpp"
308                 "DX12/GI/CCryDX12GIFactory.hpp"
309                 "DX12/GI/CCryDX12GIOutput.hpp"
310                 "DX12/GI/CCryDX12SwapChain.hpp"
311         SOURCE_GROUP "DX12\\\\Misc"
312                 "DX12/Misc/SCryDX11PipelineState.cpp"
313                 "DX12/Misc/SCryDX11PipelineState.hpp"
314         SOURCE_GROUP "DX12\\\\Resource"
315                 "DX12/Resource/CCryDX12Asynchronous.cpp"
316                 "DX12/Resource/CCryDX12Resource.cpp"
317                 "DX12/Resource/CCryDX12View.cpp"
318                 "DX12/Resource/CCryDX12Asynchronous.hpp"
319                 "DX12/Resource/CCryDX12Resource.hpp"
320                 "DX12/Resource/CCryDX12View.hpp"
321         SOURCE_GROUP "DX12\\\\Resource\\\\Misc"
322                 "DX12/Resource/Misc/CCryDX12Buffer.cpp"
323                 "DX12/Resource/Misc/CCryDX12InputLayout.cpp"
324                 "DX12/Resource/Misc/CCryDX12Query.cpp"
325                 "DX12/Resource/Misc/CCryDX12Shader.cpp"
326                 "DX12/Resource/Misc/CCryDX12Buffer.hpp"
327                 "DX12/Resource/Misc/CCryDX12InputLayout.hpp"
328                 "DX12/Resource/Misc/CCryDX12Query.hpp"
329                 "DX12/Resource/Misc/CCryDX12Shader.hpp"
330         SOURCE_GROUP "DX12\\\\Resource\\\\State"
331                 "DX12/Resource/State/CCryDX12BlendState.cpp"
332                 "DX12/Resource/State/CCryDX12DepthStencilState.cpp"
333                 "DX12/Resource/State/CCryDX12RasterizerState.cpp"
334                 "DX12/Resource/State/CCryDX12SamplerState.cpp"
335                 "DX12/Resource/State/CCryDX12BlendState.hpp"
336                 "DX12/Resource/State/CCryDX12DepthStencilState.hpp"
337                 "DX12/Resource/State/CCryDX12RasterizerState.hpp"
338                 "DX12/Resource/State/CCryDX12SamplerState.hpp"
339         SOURCE_GROUP "DX12\\\\Resource\\\\Texture"
340                 "DX12/Resource/Texture/CCryDX12Texture1D.cpp"
341                 "DX12/Resource/Texture/CCryDX12Texture2D.cpp"
342                 "DX12/Resource/Texture/CCryDX12Texture3D.cpp"
343                 "DX12/Resource/Texture/CCryDX12TextureBase.cpp"
344                 "DX12/Resource/Texture/CCryDX12Texture1D.hpp"
345                 "DX12/Resource/Texture/CCryDX12Texture2D.hpp"
346                 "DX12/Resource/Texture/CCryDX12Texture3D.hpp"
347                 "DX12/Resource/Texture/CCryDX12TextureBase.hpp"
348         SOURCE_GROUP "DX12\\\\Resource\\\\View"
349                 "DX12/Resource/View/CCryDX12DepthStencilView.cpp"
350                 "DX12/Resource/View/CCryDX12RenderTargetView.cpp"
351                 "DX12/Resource/View/CCryDX12ShaderResourceView.cpp"
352                 "DX12/Resource/View/CCryDX12UnorderedAccessView.cpp"
353                 "DX12/Resource/View/CCryDX12DepthStencilView.hpp"
354                 "DX12/Resource/View/CCryDX12RenderTargetView.hpp"
355                 "DX12/Resource/View/CCryDX12ShaderResourceView.hpp"
356                 "DX12/Resource/View/CCryDX12UnorderedAccessView.hpp"
359 # -- DXOrbis/orbis_renderer.waf_files --
360 sources_platform(ORBIS)
361 add_sources("CryRenderer_dx_orbis_uber_0.cpp"
362         PROJECTS CryRenderD3D11
363         SOURCE_GROUP "DXOrbis"
364                 "DXOrbis/CCryDXOrbisRenderer.cpp"
365                 "DXOrbis/CCryDXOrbisAPtr.hpp"
366                 "DXOrbis/CCryDXOrbisDummy.hpp"
367                 "DXOrbis/CCryDXOrbisGuid.hpp"
368                 "DXOrbis/CCryDXOrbisMisc.hpp"
369                 "DXOrbis/CCryDXOrbisMisc9.hpp"
370                 "DXOrbis/CCryDXOrbisRenderDeviceWrapper.hpp"
371                 "DXOrbis/CCryDXOrbisRenderer.hpp"
372                 "DXOrbis/CCryTypes.hpp"
373         SOURCE_GROUP "DXOrbis\\\\Device"
374                 "DXOrbis/Device/CCryDXOrbisRenderDevice.cpp"
375                 "DXOrbis/Device/CCryDXOrbisShaderState_CUE.cpp"
376                 "DXOrbis/Device/CCryDXOrbisShaderState_SCUE.cpp"
377                 "DXOrbis/Device/CCryDXOrbisSwapChain.cpp"
378                 "DXOrbis/Device/CCryDXOrbisRenderDevice.hpp"
379                 "DXOrbis/Device/CCryDXOrbisShaderState.hpp"
380                 "DXOrbis/Device/CCryDXOrbisShaderState_CUE.h"
381                 "DXOrbis/Device/CCryDXOrbisShaderState_SCUE.h"
382                 "DXOrbis/Device/CCryDXOrbisSwapChain.hpp"
383         SOURCE_GROUP "DXOrbis\\\\Device\\\\Resources"
384                 "DXOrbis/Device/Resource/CCryDXOrbisResource.cpp"
385                 "DXOrbis/Device/Resource/CCryDXOrbisResource.hpp"
386         SOURCE_GROUP "DXOrbis\\\\Device\\\\Resources\\\\Buffer"
387                 "DXOrbis/Device/Resource/Buffer/CCryDXOrbisBuffer.cpp"
388                 "DXOrbis/Device/Resource/Buffer/CCryDXOrbisBuffer.hpp"
389         SOURCE_GROUP "DXOrbis\\\\Device\\\\Resources\\\\Misc"
390                 "DXOrbis/Device/CCryDXOrbisBlob.cpp"
391                 "DXOrbis/Device/Resource/Misc/CCryDXOrbisDepthStencilView.cpp"
392                 "DXOrbis/Device/Resource/Misc/CCryDXOrbisInputLayout.cpp"
393                 "DXOrbis/Device/Resource/Misc/CCryDXOrbisRenderTargetView.cpp"
394                 "DXOrbis/Device/CCryDXOrbisBlob.hpp"
395                 "DXOrbis/Device/Resource/Misc/CCryDXOrbisDepthStencilView.hpp"
396                 "DXOrbis/Device/Resource/Misc/CCryDXOrbisInputLayout.hpp"
397                 "DXOrbis/Device/Resource/Misc/CCryDXOrbisRenderTargetView.hpp"
398         SOURCE_GROUP "DXOrbis\\\\Device\\\\Resources\\\\States"
399                 "DXOrbis/Device/Resource/States/CCryDXOrbisBlendState.cpp"
400                 "DXOrbis/Device/Resource/States/CCryDXOrbisDepthStencilState.cpp"
401                 "DXOrbis/Device/Resource/States/CCryDXOrbisRasterizerState.cpp"
402                 "DXOrbis/Device/Resource/States/CCryDXOrbisSamplerState.cpp"
403                 "DXOrbis/Device/Resource/States/CCryDXOrbisSamplerState.hpp"
404                 "DXOrbis/Device/Resource/States/CCryDXOrbisBlendState.hpp"
405                 "DXOrbis/Device/Resource/States/CCryDXOrbisDepthStencilState.hpp"
406                 "DXOrbis/Device/Resource/States/CCryDXOrbisRasterizerState.hpp"
409 add_sources("CryRenderer_dx_orbis_uber_1.cpp"
410         PROJECTS CryRenderD3D11
411         SOURCE_GROUP "DXOrbis\\\\DXOrbisGI"
412                 "DXOrbis/DXOrbisGI/CCryDXOrbisGI.cpp"
413                 "DXOrbis/DXOrbisGI/CCryDXOrbisGIAdapter.cpp"
414                 "DXOrbis/DXOrbisGI/CCryDXOrbisGIDevice.cpp"
415                 "DXOrbis/DXOrbisGI/CCryDXOrbisGIFactory.cpp"
416                 "DXOrbis/DXOrbisGI/CCryDXOrbisGIOutput.cpp"
417                 "DXOrbis/DXOrbisGI/CCryDXOrbisGI.hpp"
418                 "DXOrbis/DXOrbisGI/CCryDXOrbisGIAdapter.hpp"
419                 "DXOrbis/DXOrbisGI/CCryDXOrbisGIDevice.hpp"
420                 "DXOrbis/DXOrbisGI/CCryDXOrbisGIFactory.hpp"
421                 "DXOrbis/DXOrbisGI/CCryDXOrbisGIOutput.hpp"
422         SOURCE_GROUP "DXOrbis\\\\Debug"
423                 "DXOrbis/Debug/SouthernIslandsISA.cpp"
424                 "DXOrbis/Debug/SouthernIslandsISA.h"
425         SOURCE_GROUP "DXOrbis\\\\Device\\\\Resources\\\\Shaders"
426                 "DXOrbis/Device/Resource/Misc/CCryDXOrbisShader.cpp"
427                 "DXOrbis/Device/Resource/Misc/CCryDXOrbisShaderReflection.cpp"
428                 "DXOrbis/Device/Resource/Misc/CCryDXOrbisShaderResourceView.cpp"
429                 "DXOrbis/Device/Resource/Misc/CCryDXOrbisShader.hpp"
430                 "DXOrbis/Device/Resource/Misc/CCryDXOrbisShaderReflection.hpp"
431                 "DXOrbis/Device/Resource/Misc/CCryDXOrbisShaderResourceView.hpp"
432         SOURCE_GROUP "DXOrbis\\\\Device\\\\Resources\\\\Textures"
433                 "DXOrbis/Device/Resource/Textures/CCryDXOrbisTexture1D.cpp"
434                 "DXOrbis/Device/Resource/Textures/CCryDXOrbisTexture2D.cpp"
435                 "DXOrbis/Device/Resource/Textures/CCryDXOrbisTexture3D.cpp"
436                 "DXOrbis/Device/Resource/Textures/CCryDXOrbisTextureBase.cpp"
437                 "DXOrbis/Device/Resource/Textures/CCryDXOrbisTexture1D.hpp"
438                 "DXOrbis/Device/Resource/Textures/CCryDXOrbisTexture2D.hpp"
439                 "DXOrbis/Device/Resource/Textures/CCryDXOrbisTexture3D.hpp"
440                 "DXOrbis/Device/Resource/Textures/CCryDXOrbisTextureBase.hpp"
441         SOURCE_GROUP "DXOrbis\\\\Device\\\\SCUE"
442                 "DXOrbis/Device/SCUE/scue.cpp"
443                 "DXOrbis/Device/SCUE/scue.h"
444         SOURCE_GROUP "DXOrbis\\\\Layer0"
445                 "DXOrbis/Layer0/CCryDXOrbisGNM.cpp"
446                 "DXOrbis/Layer0/CCryDXOrbis.hpp"
447                 "DXOrbis/Layer0/CCryDXOrbisGNM.hpp"
448                 "DXOrbis/Layer0/CCryDXOrbis_Orbis.hpp"
451 add_sources("CryRenderer_uber_5_orb_dx11.cpp"
452         PROJECTS CryRenderD3D11
453         SOURCE_GROUP "DeviceManager\\\\D3D11"
454                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.h"
455                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.inl"
456                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.cpp"
457                 "DeviceManager/D3D11/DeviceObjects_D3D11.inl"
458                 "DeviceManager/D3D11/DeviceObjects_D3D11.cpp"
459                 "DeviceManager/D3D11/DeviceResources_D3D11.inl"
460                 "DeviceManager/D3D11/DeviceResources_D3D11_NVAPI.h"
461                 "DeviceManager/D3D11/DeviceResources_D3D11_NVAPI.inl"
462                 "DeviceManager/D3D11/DeviceCommandList_D3D11.h"
463                 "DeviceManager/D3D11/DeviceWrapper_D3D11_Logging.cpp"
464                 "DeviceManager/D3D11/DeviceWrapper_D3D11_MemReplay.h"
465                 "DeviceManager/D3D11/DeviceWrapper_D3D11_MemReplay.cpp"
466                 "DeviceManager/D3D11/DeviceResourceSet_D3D11.h"
467                 "DeviceManager/D3D11/DeviceResourceSet_D3D11.cpp"
468                 "DeviceManager/D3D11/DeviceCommandListCommon_D3D11.h"
469                 "DeviceManager/D3D11/DeviceCommandListCommon_D3D11.cpp"
470                 "DeviceManager/D3D11/DevicePSO_D3D11.h"
471                 "DeviceManager/D3D11/DevicePSO_D3D11.cpp"
472                 "DeviceManager/D3D11/DeviceRenderPass_D3D11.h"
473                 "DeviceManager/D3D11/DeviceRenderPass_D3D11.cpp"
476 # -- DX11/dx11_renderer.waf_files --
477 sources_platform(WINDOWS)
478 add_sources("CryRenderer_uber_5_dx11_dx11.cpp"
479         PROJECTS CryRenderD3D11
480         SOURCE_GROUP "DeviceManager\\\\D3D11"
481                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.h"
482                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.inl"
483                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.cpp"
484                 "DeviceManager/D3D11/DeviceObjects_D3D11.h"
485                 "DeviceManager/D3D11/DeviceObjects_D3D11.inl"
486                 "DeviceManager/D3D11/DeviceObjects_D3D11.cpp"
487                 "DeviceManager/D3D11/DeviceResources_D3D11.inl"
488                 "DeviceManager/D3D11/DeviceResources_D3D11_NVAPI.h"
489                 "DeviceManager/D3D11/DeviceResources_D3D11_NVAPI.inl"
490                 "DeviceManager/D3D11/DeviceCommandList_D3D11.h"
491                 "DeviceManager/D3D11/DeviceWrapper_D3D11_Logging.cpp"
492                 "DeviceManager/D3D11/DeviceWrapper_D3D11_MemReplay.h"
493                 "DeviceManager/D3D11/DeviceWrapper_D3D11_MemReplay.cpp"
494                 "DeviceManager/D3D11/DeviceResourceSet_D3D11.h"
495                 "DeviceManager/D3D11/DeviceResourceSet_D3D11.cpp"
496                 "DeviceManager/D3D11/DeviceCommandListCommon_D3D11.h"
497                 "DeviceManager/D3D11/DeviceCommandListCommon_D3D11.cpp"
498                 "DeviceManager/D3D11/DevicePSO_D3D11.h"
499                 "DeviceManager/D3D11/DevicePSO_D3D11.cpp"
500                 "DeviceManager/D3D11/DeviceRenderPass_D3D11.h"
501                 "DeviceManager/D3D11/DeviceRenderPass_D3D11.cpp"
504 sources_platform(ALL)
505 add_sources("NoUberFile"
506         PROJECTS CryRenderD3D11
507         SOURCE_GROUP "DX11"
508                 "DX11/CryDX11.cpp"
509                 "DX11/CryDX11.hpp"
510         SOURCE_GROUP "DX11\\\\API"
511                 "DX11/API/DX11Base.cpp"
512                 "DX11/API/DX11CommandScheduler.cpp"
513                 "DX11/API/DX11CommandListFence.cpp"
514                 "DX11/API/DX11Device.cpp"
515                 "DX11/API/DX11Base.hpp"
516                 "DX11/API/DX11CommandScheduler.hpp"
517                 "DX11/API/DX11CommandListFence.hpp"
518                 "DX11/API/DX11Device.hpp"
521 # -- GNM/GnmRenderer.waf_files --
522 sources_platform(ALL)
523 add_sources("NoUberFile"
524         PROJECTS CryRenderGNM
525         SOURCE_GROUP "Common"
526                 "GpuHeap.h"
527                 "GpuHeap.cpp"
528                 "GpuHeap.natvis"
529         SOURCE_GROUP "DeviceManager\\\\GNM"
530                 "DeviceManager/GNM/DeviceCommandList_GNM.h"
531                 "DeviceManager/GNM/DeviceCommandList_GNM.inl"
532                 "DeviceManager/GNM/DeviceResources_GNM.inl"
533                 "DeviceManager/GNM/DeviceObjects_GNM.inl"
534                 "DeviceManager/GNM/DeviceObjects_GNM.cpp"
535         SOURCE_GROUP "GNM"
536                 "GNM/GnmBase.hpp"
537                 "GNM/GnmBuffer.hpp"
538                 "GNM/GnmBuffer.cpp"
539                 "GNM/GnmBuiltIn.hpp"
540                 "GNM/GnmCache.hpp"
541                 "GNM/GnmCache.cpp"
542                 "GNM/GnmCommandList.hpp"
543                 "GNM/GnmCommandList.cpp"
544                 "GNM/GnmCommon.hpp"
545                 "GNM/GnmCommon.cpp"
546                 "GNM/GnmDebugHelpers.natvis"
547                 "GNM/GnmDevice.hpp"
548                 "GNM/GnmDevice.cpp"
549                 "GNM/GnmGpuState.hpp"
550                 "GNM/GnmGpuState.cpp"
551                 "GNM/GnmHeap.hpp"
552                 "GNM/GnmHeap.cpp"
553                 "GNM/GnmLegacy.hpp"
554                 "GNM/GnmLegacy.cpp"
555                 "GNM/GnmPipelineState.hpp"
556                 "GNM/GnmPipelineState.cpp"
557                 "GNM/GnmQuery.hpp"
558                 "GNM/GnmReflection.hpp"
559                 "GNM/GnmReflection.cpp"
560                 "GNM/GnmRenderer.hpp"
561                 "GNM/GnmResource.hpp"
562                 "GNM/GnmResourceLayout.hpp"
563                 "GNM/GnmResourceLayout.cpp"
564                 "GNM/GnmResourceLookup.hpp"
565                 "GNM/GnmResourceSet.hpp"
566                 "GNM/GnmResourceSet.cpp"
567                 "GNM/GnmSampler.hpp"
568                 "GNM/GnmSampler.cpp"
569                 "GNM/GnmScratch.hpp"
570                 "GNM/GnmScratch.cpp"
571                 "GNM/GnmShader.hpp"
572                 "GNM/GnmShaderCompiler.hpp"
573                 "GNM/GnmShaderLoader.cpp"
574                 "GNM/GnmShaderRuntime.cpp"
575                 "GNM/GnmShaderTools.hpp"
576                 "GNM/GnmSwapChain.hpp"
577                 "GNM/GnmSwapChain.cpp"
578                 "GNM/GnmTexture.hpp"
579                 "GNM/GnmTexture.cpp"
582 # -- DXGL/opengl_loader_egl.waf_files --
583 sources_platform(ANDROID)
584 add_sources("NoUberFile"
585         PROJECTS CryRenderOpenGL
586         SOURCE_GROUP "DXGL\\\\Specification"
587                 "DXGL/Specification/glad_egl.c"
588                 "DXGL/Specification/glad_egl.h"
591 # -- mesh_baker.waf_files --
592 sources_platform(ANDROID APPLE DURANGO LINUX WINDOWS)
593 add_sources("NoUberFile"
594         PROJECTS CryRenderD3D11 CryRenderD3D12 CryRenderVulkan CryRenderOpenGL
595         SOURCE_GROUP "Source Files"
596                 "D3DMeshBaker.cpp"
599 # -- Vulkan/vulkan_renderer.waf_files --
600 sources_platform(ALL)
601 add_sources("CryRenderer_uber_5_vulkan_dx11.cpp"
602         PROJECTS CryRenderVulkan
603         SOURCE_GROUP "DeviceManager\\\\D3D11"
604                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.h"
605                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.inl"
606                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.cpp"
609 add_sources("CryRenderer_uber_5_vulkan_vulkan.cpp"
610         PROJECTS CryRenderVulkan
611         SOURCE_GROUP "DeviceManager\\\\Vulkan"
612                 "DeviceManager/Vulkan/DeviceObjects_Vulkan.inl"
613                 "DeviceManager/Vulkan/DeviceObjects_Vulkan.cpp"
614                 "DeviceManager/Vulkan/DeviceResources_Vulkan.inl"
615                 "DeviceManager/Vulkan/DeviceCommandList_Vulkan.h"
616                 "DeviceManager/Vulkan/DeviceResourceSet_Vulkan.h"
617                 "DeviceManager/Vulkan/DeviceResourceSet_Vulkan.cpp"
618                 "DeviceManager/Vulkan/DeviceCommandListCommon_Vulkan.h"
619                 "DeviceManager/Vulkan/DeviceCommandListCommon_Vulkan.cpp"
620                 "DeviceManager/Vulkan/DevicePSO_Vulkan.h"
621                 "DeviceManager/Vulkan/DevicePSO_Vulkan.cpp"
622                 "DeviceManager/Vulkan/DeviceRenderPass_Vulkan.h"
623                 "DeviceManager/Vulkan/DeviceRenderPass_Vulkan.cpp"
626 add_sources("NoUberFile"
627         PROJECTS CryRenderVulkan
628         SOURCE_GROUP "Common"
629                 "GpuHeap.h"
630                 "GpuHeap.cpp"
631                 "GpuHeap.natvis"
632         SOURCE_GROUP "Vulkan"
633                 "Vulkan/CryVulkan.hpp"
634                 "Vulkan/CryVulkan.cpp"
635                 "Vulkan/D3DVKConversionUtility.hpp"
636         SOURCE_GROUP "Vulkan\\\\API"
637                 "Vulkan/API/VKCommandScheduler.cpp"
638                 "Vulkan/API/VKCommandScheduler.hpp"
639                 "Vulkan/API/VKCommandList.cpp"
640                 "Vulkan/API/VKCommandList.hpp"
641                 "Vulkan/API/VKCommandListFence.cpp"
642                 "Vulkan/API/VKCommandListFence.hpp"
643                 "Vulkan/API/VKAsyncCommandQueue.hpp"
644                 "Vulkan/API/VKAsyncCommandQueue.cpp"
645                 "Vulkan/API/VKBase.hpp"
646                 "Vulkan/API/VKBase.cpp"
647                 "Vulkan/API/VKDevice.hpp"
648                 "Vulkan/API/VKDevice.cpp"
649                 "Vulkan/API/VKInstance.hpp"
650                 "Vulkan/API/VKInstance.cpp"
651                 "Vulkan/API/VKSwapChain.hpp"
652                 "Vulkan/API/VKSwapChain.cpp"
653                 "Vulkan/API/VKImageResource.hpp"
654                 "Vulkan/API/VKImageResource.cpp"
655                 "Vulkan/API/VKHeap.hpp"
656                 "Vulkan/API/VKHeap.cpp"
657                 "Vulkan/API/VKBufferResource.hpp"
658                 "Vulkan/API/VKBufferResource.cpp"
659                 "Vulkan/API/VKMemoryResource.hpp"
660                 "Vulkan/API/VKMemoryResource.cpp"
661                 "Vulkan/API/VKLegacyToBeRemoved.cpp"
662                 "Vulkan/API/VkSpirvHelper.hpp"
663                 "Vulkan/API/VKShader.hpp"
664                 "Vulkan/API/VKShader.cpp"
665                 "Vulkan/API/VKSampler.hpp"
666                 "Vulkan/API/VKSampler.cpp"
667                 "Vulkan/API/VKResourceView.hpp"
668                 "Vulkan/API/VKResourceView.cpp"
669                 "Vulkan/API/VKExtensions.hpp"
670                 "Vulkan/API/VKExtensions.cpp"
671                 "Vulkan/API/VKOcclusionQueryManager.hpp"
672                 "Vulkan/API/VKOcclusionQueryManager.cpp"
673         SOURCE_GROUP "Vulkan\\\\CryVulkanWrappers\\\\GI"
674                 "Vulkan/CryVulkanWrappers/GI/CCryVKGuid.hpp"
675                 "Vulkan/CryVulkanWrappers/GI/CCryVKMisc.hpp"
676                 "Vulkan/CryVulkanWrappers/GI/CCryVKGIObject.hpp"
677                 "Vulkan/CryVulkanWrappers/GI/CCryVKGIAdapter.hpp"
678                 "Vulkan/CryVulkanWrappers/GI/CCryVKGIAdapter.cpp"
679                 "Vulkan/CryVulkanWrappers/GI/CCryVKGIFactory.hpp"
680                 "Vulkan/CryVulkanWrappers/GI/CCryVKGIFactory.cpp"
681                 "Vulkan/CryVulkanWrappers/GI/CCryVKGIOutput.hpp"
682                 "Vulkan/CryVulkanWrappers/GI/CCryVKGIOutput.cpp"
683                 "Vulkan/CryVulkanWrappers/GI/CCryVKSwapChain.hpp"
684                 "Vulkan/CryVulkanWrappers/GI/CCryVKSwapChain.cpp"
685         SOURCE_GROUP "Vulkan\\\\CryVulkanWrappers\\\\Resources"
686                 "Vulkan/CryVulkanWrappers/Resources/CCryVKShaderReflection.hpp"
687                 "Vulkan/CryVulkanWrappers/Resources/CCryVKShaderReflection.cpp"
690 # -- Vulkan/vulkan_win.waf_files --
691 sources_platform(WINDOWS)
692 add_sources("CryRenderer_uber_5_vulkan_dxgi.cpp"
693         PROJECTS CryRenderVulkan
694         SOURCE_GROUP "Vulkan\\\\CryVulkanWrappers\\\\GI\\\\DXGI"
695                 "Vulkan/CryVulkanWrappers/GI/DXGI/CCryVKGIFactory_DXGI.hpp"
696                 "Vulkan/CryVulkanWrappers/GI/DXGI/CCryVKGIFactory_DXGI.cpp"
697                 "Vulkan/CryVulkanWrappers/GI/DXGI/CCryVKGIAdapter_DXGI.hpp"
698                 "Vulkan/CryVulkanWrappers/GI/DXGI/CCryVKGIAdapter_DXGI.cpp"
699                 "Vulkan/CryVulkanWrappers/GI/DXGI/CCryVKGIOutput_DXGI.hpp"
700                 "Vulkan/CryVulkanWrappers/GI/DXGI/CCryVKGIOutput_DXGI.cpp"
703 # -- core_renderer.waf_files --
704 sources_platform(ALL)
705 add_sources("CryGpuParticles_uber.cpp"
706         PROJECTS CryRenderGNM CryRenderD3D11 CryRenderD3D12 CryRenderVulkan CryRenderOpenGL
707         SOURCE_GROUP "Header Files\\\\Gpu"
708                 "Gpu/GpuComputeBackend.h"
709                 "Gpu/GpuBitonicSort.h"
710         SOURCE_GROUP "Header Files\\\\Gpu\\\\Particles"
711                 "Gpu/Particles/GpuParticleComponentRuntime.h"
712                 "Gpu/Particles/GpuParticleManager.h"
713                 "Gpu/Particles/GpuParticleContainer.h"
714                 "Gpu/Particles/GpuParticleFeatureBase.h"
715                 "Gpu/Particles/GpuParticleFeatureFactory.h"
716                 "Gpu/Particles/GpuParticleFeatureColor.h"
717                 "Gpu/Particles/GpuParticleFeatureCollision.h"
718                 "Gpu/Particles/GpuParticleFeatureField.h"
719                 "Gpu/Particles/GpuParticleFeatureMotion.h"
720                 "Gpu/Particles/GpuParticleFeatureFluidDynamics.h"
721         SOURCE_GROUP "Header Files\\\\Gpu\\\\Physics"
722                 "Gpu/Physics/GpuPhysicsParticleFluid.h"
723         SOURCE_GROUP "Source Files\\\\Gpu"
724                 "Gpu/GpuComputeBackend.cpp"
725                 "Gpu/GpuBitonicSort.cpp"
726                 "Gpu/GpuMergeSort.cpp"
727         SOURCE_GROUP "Source Files\\\\Gpu\\\\Particles"
728                 "Gpu/Particles/GpuParticleComponentRuntime.cpp"
729                 "Gpu/Particles/GpuParticleManager.cpp"
730                 "Gpu/Particles/GpuParticleContainer.cpp"
731                 "Gpu/Particles/GpuParticleFeatureFactory.cpp"
732                 "Gpu/Particles/GpuParticleFeatureColor.cpp"
733                 "Gpu/Particles/GpuParticleFeatureCollision.cpp"
734                 "Gpu/Particles/GpuParticleFeatureField.cpp"
735                 "Gpu/Particles/GpuParticleFeatureMotion.cpp"
736                 "Gpu/Particles/GpuParticleFeatureFluidDynamics.cpp"
737         SOURCE_GROUP "Source Files\\\\Gpu\\\\Physics"
738                 "Gpu/Physics/GpuPhysicsParticleFluid.cpp"
741 add_sources("CryRender_resfile_uber.cpp"
742         PROJECTS CryRenderGNM CryRenderD3D11 CryRenderD3D12 CryRenderVulkan CryRenderOpenGL
743         SOURCE_GROUP "Common"
744                 "../Common/ResFile.cpp"
745                 "../Common/ResFileLookupDataMan.cpp"
746         SOURCE_GROUP "Common_h"
747                 "../Common/ResFile.h"
748                 "../Common/ResFile_info.h"
749                 "../Common/ResFileLookupDataMan.h"
752 add_sources("CryRenderer_render_elements_uber_0.cpp"
753         PROJECTS CryRenderGNM CryRenderD3D11 CryRenderD3D12 CryRenderVulkan CryRenderOpenGL
754         SOURCE_GROUP "Common\\\\RendElements"
755                 "../Common/RendElements/CREBreakableGlass.cpp"
756                 "CRELensOpticsD3D.cpp"
757                 "../Common/RendElements/CREClientPoly.cpp"
758                 "../Common/RendElements/CREFogVolume.cpp"
759                 "../Common/RendElements/CREGameEffect.cpp"
760                 "../Common/RendElements/CREMesh.cpp"
761                 "../Common/RendElements/CREOclusionQuery.cpp"
762                 "../Common/RendElements/CREGeomCache.cpp"
765 add_sources("CryRenderer_render_elements_uber_1.cpp"
766         PROJECTS CryRenderGNM CryRenderD3D11 CryRenderD3D12 CryRenderVulkan CryRenderOpenGL
767         SOURCE_GROUP "Common\\\\RendElements"
768                 "../Common/RendElements/CREParticle.cpp"
769                 "../Common/RendElements/CREWaterOcean.cpp"
770                 "../Common/RendElements/CREWaterVolume.cpp"
771                 "../Common/RendElements/RendElement.cpp"
772                 "../Common/RendElements/CRELensOptics.h"
773                 "../Common/RendElements/CREClientPoly.h"
774                 "../Common/RendElements/CREMeshImpl.h"
775         SOURCE_GROUP "Common\\\\RendElements\\\\LensOptics"
776                 "../Common/RendElements/CameraOrbs.cpp"
777                 "../Common/RendElements/AbstractMeshElement.cpp"
778                 "../Common/RendElements/ChromaticRing.cpp"
779                 "../Common/RendElements/Ghost.cpp"
780                 "../Common/RendElements/Glow.cpp"
781                 "../Common/RendElements/IrisShafts.cpp"
782                 "../Common/RendElements/MeshUtil.cpp"
783                 "../Common/RendElements/OpticsElement.cpp"
784                 "../Common/RendElements/OpticsFactory.cpp"
785                 "../Common/RendElements/RootOpticsElement.cpp"
786                 "../Common/RendElements/Streaks.cpp"
787                 "../Common/RendElements/FlareSoftOcclusionQuery.cpp"
788                 "../Common/RendElements/ImageSpaceShafts.cpp"
789                 "../Common/RendElements/AbstractMeshElement.h"
790                 "../Common/RendElements/MeshUtil.h"
791                 "../Common/RendElements/OpticsFactory.h"
792                 "../Common/RendElements/Streaks.h"
793                 "../Common/RendElements/Timeline.h"
794                 "../Common/RendElements/CameraOrbs.h"
795                 "../Common/RendElements/ChromaticRing.h"
796                 "../Common/RendElements/Ghost.h"
797                 "../Common/RendElements/Glow.h"
798                 "../Common/RendElements/Interpolator.h"
799                 "../Common/RendElements/IrisShafts.h"
800                 "../Common/RendElements/OpticsElement.h"
801                 "../Common/RendElements/OpticsPredef.hpp"
802                 "../Common/RendElements/RootOpticsElement.h"
803                 "../Common/RendElements/FlareSoftOcclusionQuery.h"
804                 "../Common/RendElements/ImageSpaceShafts.h"
805                 "../Common/RendElements/OpticsGroup.h"
806                 "../Common/RendElements/OpticsGroup.cpp"
807                 "../Common/RendElements/OpticsProxy.h"
808                 "../Common/RendElements/OpticsProxy.cpp"
809                 "../Common/RendElements/OpticsReference.h"
810                 "../Common/RendElements/OpticsReference.cpp"
811         SOURCE_GROUP "Common\\\\RendElements\\\\Utils"
812                 "../Common/RendElements/Utils/PolygonMath2D.cpp"
813                 "../Common/RendElements/Utils/PolygonMath2D.h"
814                 "../Common/RendElements/Utils/SpatialHashGrid.h"
817 add_sources("CryRenderer_textures_uber.cpp"
818         PROJECTS CryRenderGNM CryRenderD3D11 CryRenderD3D12 CryRenderVulkan CryRenderOpenGL
819         SOURCE_GROUP "Common\\\\Textures"
820                 "../Common/Textures/ITextureStreamer.cpp"
821                 "../Common/Textures/PlanningTextureStreamer.cpp"
822                 "../Common/Textures/PlanningTextureStreamer_Jobs.cpp"
823                 "../Common/Textures/TextureCompiler.cpp"
824                 "../Common/Textures/StatoscopeTextureStreaming.cpp"
825                 "../Common/Textures/DynTexture.cpp"
826                 "../Common/Textures/PowerOf2BlockPacker.cpp"
827                 "../Common/Textures/Texture.cpp"
828                 "../Common/Textures/TextureManager.cpp"
829                 "../Common/Textures/TextureStreaming.cpp"
830                 "../Common/Textures/PlanningTextureStreamer.h"
831                 "../Common/Textures/StatoscopeTextureStreaming.h"
832                 "../Common/Textures/TextureArrayAlloc.h"
833                 "../Common/Textures/TextureCompiler.h"
834                 "../Common/Textures/TextureStreamPool.h"
835                 "../Common/Textures/PowerOf2BlockPacker.h"
836                 "../Common/Textures/Texture.h"
837                 "../Common/Textures/TextureManager.h"
838                 "../Common/Textures/TextureHelpers.cpp"
839                 "../Common/Textures/TextureHelpers.h"
840         SOURCE_GROUP "Common\\\\Textures\\\\Image"
841                 "../Common/Textures/Image/CImage.cpp"
842                 "../Common/Textures/Image/DDSImage.cpp"
843                 "../Common/Textures/Image/JpgImage.cpp"
844                 "../Common/Textures/Image/TgaImage.cpp"
845                 "../Common/Textures/Image/PngImage.cpp"
846                 "../Common/Textures/Image/TifImage.cpp"
847                 "../Common/Textures/Image/CImage.h"
848                 "../Common/Textures/Image/DDSImage.h"
851 add_sources("CryRenderer_uber_0.cpp"
852         PROJECTS CryRenderGNM CryRenderD3D11 CryRenderD3D12 CryRenderVulkan CryRenderOpenGL
853         SOURCE_GROUP "Header Files"
854                 "D3DREBreakableGlassBuffer.h"
855                 "D3D_SVO.h"
856         SOURCE_GROUP "Source Files"
857                 "D3DAmbientOcclusion.cpp"
858                 "D3DDebug.cpp"
859                 "D3DDeferredRender.cpp"
860                 "D3DDeferredShading.cpp"
861                 "D3DFont.cpp"
862                 "D3DFXPipeline.cpp"
863                 "D3DHWShader.cpp"
864                 "D3DHWShaderCompiling.cpp"
865                 "D3DOcclQuery.cpp"
866                 "D3DOculus.cpp"
867                 "D3DOpenVR.cpp"
868                 "D3DREBreakableGlass.cpp"
869                 "D3DREBreakableGlassBuffer.cpp"
870                 "D3D_SVO.cpp"
871                 "D3DMultiResRendering.cpp"
872                 "D3DOsvr.cpp"
875 add_sources("CryRenderer_uber_1.cpp"
876         PROJECTS CryRenderGNM CryRenderD3D11 CryRenderD3D12 CryRenderVulkan CryRenderOpenGL
877         SOURCE_GROUP "Source Files"
878                 "D3DRenderAuxGeom.cpp"
879                 "D3DRenderThread.cpp"
880                 "D3DRendPipeline.cpp"
881                 "D3DShaders.cpp"
882                 "D3DShadows.cpp"
883                 "D3DStereo.cpp"
884                 "D3DSystem.cpp"
885                 "D3DTexture.cpp"
886                 "D3DTexturesStreaming.cpp"
887                 "D3DTextureStreamPool.cpp"
888                 "CompiledRenderObject.cpp"
889         SOURCE_GROUP "Source Files\\\\Benchmark Customization"
890                 "BenchmarkCustom/BenchmarkRendererSensor.h"
891                 "BenchmarkCustom/BenchmarkRendererSensor.cpp"
894 add_sources("CryRenderer_uber_2.cpp"
895         PROJECTS CryRenderGNM CryRenderD3D11 CryRenderD3D12 CryRenderVulkan CryRenderOpenGL
896         SOURCE_GROUP "Header Files"
897                 "SmartGlassManager.h"
898         SOURCE_GROUP "Source Files"
899                 "DriverD3D.cpp"
900                 "PipelineProfiler.cpp"
901                 "SmartGlassContext.cpp"
902                 "SmartGlassManager.cpp"
903                 "StatoscopeRenderStats.cpp"
904         SOURCE_GROUP "Source Files\\\\D3DPostProcess"
905                 "D3DPostProcess.cpp"
906                 "PostProcessDOF.cpp"
907                 "PostProcessFilters.cpp"
908                 "PostProcessGame.cpp"
909                 "PostProcessHud3D.cpp"
910                 "PostProcessMisc.cpp"
911                 "PostProcessMotionBlur.cpp"
912                 "PostProcessRenderModes.cpp"
913                 "PostProcessSunShafts.cpp"
914                 "PostProcessWater.cpp"
917 add_sources("CryRenderer_uber_3.cpp"
918         PROJECTS CryRenderGNM CryRenderD3D11 CryRenderD3D12 CryRenderVulkan CryRenderOpenGL
919         SOURCE_GROUP "Common"
920                 "../Common/CommonRender.cpp"
921                 "../Common/DeferredRenderUtils.cpp"
922                 "../Common/IntroMovieRenderer.cpp"
923                 "../Common/MatrixStack.cpp"
924                 "../Common/LightVolumeBuffer.cpp"
925                 "../Common/ParticleBuffer.cpp"
926                 "../Common/RenderAuxGeom.cpp"
927                 "../Common/Renderer.cpp"
928                 "../Common/RendererCVars.cpp"
929                 "../Common/RendererResources.cpp"
930                 "../Common/RenderPipeline.cpp"
931                 "../Common/RenderThread.cpp"
932                 "../Common/ShadowUtils.cpp"
933                 "../Common/TextMessages.cpp"
934                 "../Common/WaterUtils.cpp"
935                 "../Common/SmartGlassContext.h"
936                 "../Common/IntroMovieRenderer.h"
937                 "../Common/TextMessages.h"
938                 "../Common/Include_HLSL_CPP_Shared.h"
939                 "../Common/RenderView.cpp"
940                 "../Common/OptimizeTransparentRenderItemsResolves.cpp"
941                 "../Common/RenderOutput.cpp"
942                 "../Common/RenderOutput.h"
943                 "../Common/RenderDisplayContext.cpp"
944                 "../Common/RenderDisplayContext.h"
945                 "../Common/SwapChain.cpp"
946                 "../Common/SwapChain.h"
947                 "../Common/RenderItemDrawer.cpp"
948                 "../Common/Shadow_Renderer.cpp"
949                 "../Common/CommonRender.h"
950                 "../Common/RenderPipeline.h"
951                 "../Common/DeferredRenderUtils.h"
952                 "../Common/RenderFrameProfiler.h"
953                 "../Common/OcclQuery.h"
954                 "../Common/RenderAuxGeom.h"
955                 "../Common/Renderer.h"
956                 "../Common/RendererCVars.h"
957                 "../Common/RendererResources.h"
958                 "../Common/RenderThread.h"
959                 "../Common/Shadow_Renderer.h"
960                 "../Common/ShadowUtils.h"
961                 "../Common/WaterUtils.h"
962                 "../Common/ReverseDepth.h"
963                 "../Common/RenderView.h"
964                 "../Common/RenderItemDrawer.h"
965                 "../Common/LockFreeAddVector.h"
966         SOURCE_GROUP "Header Files"
967                 "DeviceManager/D3D11/DeviceSubmissionQueue_D3D11.inl"
968                 "../Common/Textures/ITextureStreamer.h"
969                 "../Common/Shaders/ShaderAllocator.h"
970                 "../Common/CryNameR.h"
971                 "DeviceManager/D3D11/DeviceWrapper_D3D11.h"
972                 "../Common/ISmartGlassContext.h"
973                 "../Common/LightVolumeBuffer.h"
974                 "../Common/ParticleBuffer.h"
975                 "D3DDebug.h"
976                 "D3DDeferredShading.h"
977                 "D3DHWShader.h"
978                 "D3DOculus.h"
979                 "D3DOpenVR.h"
980                 "D3DPostProcess.h"
981                 "D3DRenderAuxGeom.h"
982                 "D3DStereo.h"
983                 "../Common/Defs.h"
984                 "DeviceInfo.h"
985                 "DriverD3D.h"
986                 "NullD3D11Device.h"
987                 "PipelineProfiler.h"
988                 "resource.h"
989                 "StatoscopeRenderStats.h"
990                 "D3DMultiResRendering.h"
991                 "DeviceInfo.inl"
992                 "D3DOsvr.h"
993                 "CompiledRenderObject.h"
994         SOURCE_GROUP "Scaleform"
995                 "../Scaleform/Scaleform.cpp"
996                 "../Scaleform/ScaleformRender.cpp"
997                 "../Scaleform/ScaleformPlayback.cpp"
998                 "../Scaleform/ScaleformRender.h"
999                 "../Scaleform/ScaleformPlayback.h"
1002 add_sources("CryRenderer_uber_4.cpp"
1003         PROJECTS CryRenderGNM CryRenderD3D11 CryRenderD3D12 CryRenderVulkan CryRenderOpenGL
1004         SOURCE_GROUP "Common\\\\PostProcess"
1005                 "../Common/PostProcess/PostEffects.cpp"
1006                 "../Common/PostProcess/PostProcess.cpp"
1007                 "../Common/PostProcess/PostProcessUtils.cpp"
1008                 "../Common/PostProcess/PostEffects.h"
1009                 "../Common/PostProcess/PostProcess.h"
1010                 "../Common/PostProcess/PostProcessUtils.h"
1011         SOURCE_GROUP "Common\\\\RenderMesh"
1012                 "../Common/RenderMesh_Render.cpp"
1013                 "../Common/RenderMesh_SetMesh.cpp"
1014                 "../Common/RenderMesh.cpp"
1015                 "../Common/RenderMesh.h"
1016                 "../Common/ComputeSkinningStorage.h"
1017         SOURCE_GROUP "Common\\\\Shaders"
1018                 "../Common/Shaders/Parser.cpp"
1019                 "../Common/Shaders/ParserBin.cpp"
1020                 "../Common/Shaders/RemoteCompiler.cpp"
1021                 "../Common/Shaders/ShaderCache.cpp"
1022                 "../Common/Shaders/ShaderComponents.cpp"
1023                 "../Common/Shaders/ShaderCore.cpp"
1024                 "../Common/Shaders/ShaderFXParseBin.cpp"
1025                 "../Common/Shaders/ShaderParse.cpp"
1026                 "../Common/Shaders/ShaderScript.cpp"
1027                 "../Common/Shaders/ShaderSerialize.cpp"
1028                 "../Common/Shaders/ShaderTemplate.cpp"
1029                 "../Common/Shaders/CShader.h"
1030                 "../Common/Shaders/CShaderBin.h"
1031                 "../Common/Shaders/Parser.h"
1032                 "../Common/Shaders/ParserBin.h"
1033                 "../Common/Shaders/RemoteCompiler.h"
1034                 "../Common/Shaders/Shader.h"
1035                 "../Common/Shaders/ShaderCache.h"
1036                 "../Common/Shaders/ShaderComponents.h"
1037                 "../Common/Shaders/ShaderSerialize.h"
1038                 "../Common/Shaders/ShaderResources.h"
1039                 "../Common/Shaders/ShaderResources.cpp"
1040                 "../Common/Shaders/ShaderPublicParams.h"
1041                 "../Common/Shaders/ShaderPublicParams.cpp"
1044 add_sources("CryRenderer_uber_5.cpp"
1045         PROJECTS CryRenderGNM CryRenderD3D11 CryRenderD3D12 CryRenderVulkan CryRenderOpenGL
1046         SOURCE_GROUP "DeviceManager"
1047                 "DevBuffer.cpp"
1048                 "../Common/DevBuffer.h"
1049                 "DeviceManager/DeviceObjects.h"
1050                 "DeviceManager/DeviceObjects.inl"
1051                 "DeviceManager/DeviceObjects.cpp"
1052                 "DeviceManager/DeviceObjectHelpers.h"
1053                 "DeviceManager/DeviceObjectHelpers.cpp"
1054                 "DeviceManager/DeviceObjectValidation.h"
1055                 "DeviceManager/DeviceObjectValidation.cpp"
1056                 "DeviceManager/DeviceResources.h"
1057                 "DeviceManager/DeviceResources.cpp"
1058                 "DeviceManager/DeviceFormats.h"
1059                 "DeviceManager/DeviceFormats.cpp"
1060                 "DeviceManager/DeviceCommandList.inl"
1061                 "DeviceManager/DeviceResourceSet.h"
1062                 "DeviceManager/DeviceResourceSet.cpp"
1063                 "DeviceManager/DeviceCommandListCommon.h"
1064                 "DeviceManager/DeviceCommandListCommon.cpp"
1065                 "DeviceManager/DevicePSO.h"
1066                 "DeviceManager/DevicePSO.cpp"
1067                 "DeviceManager/DeviceRenderPass.h"
1068                 "DeviceManager/DeviceRenderPass.cpp"
1071 add_sources("CryRenderer_uber_6.cpp"
1072         PROJECTS CryRenderGNM CryRenderD3D11 CryRenderD3D12 CryRenderVulkan CryRenderOpenGL
1073         SOURCE_GROUP "GraphicsPipeline"
1074                 "GraphicsPipeline/AutoExposure.h"
1075                 "GraphicsPipeline/AutoExposure.cpp"
1076                 "GraphicsPipeline/BillboardGraphicsPipeline.h"
1077                 "GraphicsPipeline/BillboardGraphicsPipeline.cpp"
1078                 "GraphicsPipeline/Bloom.h"
1079                 "GraphicsPipeline/Bloom.cpp"
1080                 "GraphicsPipeline/ClipVolumes.h"
1081                 "GraphicsPipeline/ClipVolumes.cpp"
1082                 "GraphicsPipeline/ColorGrading.h"
1083                 "GraphicsPipeline/ColorGrading.cpp"
1084                 "GraphicsPipeline/ComputeSkinning.h"
1085                 "GraphicsPipeline/ComputeSkinning.cpp"
1086                 "GraphicsPipeline/SceneDepth.h"
1087                 "GraphicsPipeline/SceneDepth.cpp"
1088                 "GraphicsPipeline/GpuParticles.h"
1089                 "GraphicsPipeline/GpuParticles.cpp"
1090                 "GraphicsPipeline/DeferredDecals.h"
1091                 "GraphicsPipeline/DeferredDecals.cpp"
1092                 "GraphicsPipeline/DepthOfField.h"
1093                 "GraphicsPipeline/DepthOfField.cpp"
1094                 "GraphicsPipeline/Fog.h"
1095                 "GraphicsPipeline/Fog.cpp"
1096                 "GraphicsPipeline/LensOptics.h"
1097                 "GraphicsPipeline/LensOptics.cpp"
1098                 "GraphicsPipeline/MinimumGraphicsPipeline.h"
1099                 "GraphicsPipeline/MinimumGraphicsPipeline.cpp"
1100                 "GraphicsPipeline/MobileComposition.h"
1101                 "GraphicsPipeline/MobileComposition.cpp"
1102                 "GraphicsPipeline/MobileGraphicsPipeline.h"
1103                 "GraphicsPipeline/MobileGraphicsPipeline.cpp"
1104                 "GraphicsPipeline/MotionBlur.h"
1105                 "GraphicsPipeline/MotionBlur.cpp"
1106                 "GraphicsPipeline/HeightMapAO.h"
1107                 "GraphicsPipeline/HeightMapAO.cpp"
1108                 "GraphicsPipeline/PostAA.h"
1109                 "GraphicsPipeline/PostAA.cpp"
1110                 "GraphicsPipeline/PostEffects.h"
1111                 "GraphicsPipeline/PostEffects.cpp"
1112                 "GraphicsPipeline/Rain.h"
1113                 "GraphicsPipeline/Rain.cpp"
1114                 "GraphicsPipeline/SceneCustom.h"
1115                 "GraphicsPipeline/SceneCustom.cpp"
1116                 "GraphicsPipeline/SceneForward.h"
1117                 "GraphicsPipeline/SceneForward.cpp"
1118                 "GraphicsPipeline/SceneGBuffer.h"
1119                 "GraphicsPipeline/SceneGBuffer.cpp"
1120                 "GraphicsPipeline/ScreenSpaceObscurance.h"
1121                 "GraphicsPipeline/ScreenSpaceObscurance.cpp"
1122                 "GraphicsPipeline/ScreenSpaceReflections.h"
1123                 "GraphicsPipeline/ScreenSpaceReflections.cpp"
1124                 "GraphicsPipeline/ScreenSpaceSSS.h"
1125                 "GraphicsPipeline/ScreenSpaceSSS.cpp"
1126                 "GraphicsPipeline/ShadowMap.h"
1127                 "GraphicsPipeline/ShadowMap.cpp"
1128                 "GraphicsPipeline/ShadowMask.h"
1129                 "GraphicsPipeline/ShadowMask.cpp"
1130                 "GraphicsPipeline/Sky.h"
1131                 "GraphicsPipeline/Sky.cpp"
1132                 "GraphicsPipeline/Snow.h"
1133                 "GraphicsPipeline/Snow.cpp"
1134                 "GraphicsPipeline/StandardGraphicsPipeline.h"
1135                 "GraphicsPipeline/StandardGraphicsPipeline.cpp"
1136                 "GraphicsPipeline/SunShafts.h"
1137                 "GraphicsPipeline/SunShafts.cpp"
1138                 "GraphicsPipeline/TiledLightVolumes.h"
1139                 "GraphicsPipeline/TiledLightVolumes.cpp"
1140                 "GraphicsPipeline/TiledShading.h"
1141                 "GraphicsPipeline/TiledShading.cpp"
1142                 "GraphicsPipeline/ToneMapping.h"
1143                 "GraphicsPipeline/ToneMapping.cpp"
1144                 "GraphicsPipeline/VolumetricClouds.h"
1145                 "GraphicsPipeline/VolumetricClouds.cpp"
1146                 "GraphicsPipeline/VolumetricFog.h"
1147                 "GraphicsPipeline/VolumetricFog.cpp"
1148                 "GraphicsPipeline/Water.h"
1149                 "GraphicsPipeline/Water.cpp"
1150                 "GraphicsPipeline/WaterRipples.h"
1151                 "GraphicsPipeline/WaterRipples.cpp"
1152                 "GraphicsPipeline/OmniCamera.h"
1153                 "GraphicsPipeline/OmniCamera.cpp"
1154                 "GraphicsPipeline/DebugRenderTargets.h"
1155                 "GraphicsPipeline/DebugRenderTargets.cpp"
1156         SOURCE_GROUP "GraphicsPipeline\\\\Common"
1157                 "GraphicsPipeline/Common/ComputeRenderPass.h"
1158                 "GraphicsPipeline/Common/ComputeRenderPass.cpp"
1159                 "GraphicsPipeline/Common/FullscreenPass.h"
1160                 "GraphicsPipeline/Common/FullscreenPass.cpp"
1161                 "GraphicsPipeline/Common/GraphicsPipeline.h"
1162                 "GraphicsPipeline/Common/GraphicsPipeline.cpp"
1163                 "GraphicsPipeline/Common/GraphicsPipelineStage.h"
1164                 "GraphicsPipeline/Common/GraphicsPipelineStage.cpp"
1165                 "GraphicsPipeline/Common/GraphicsPipelineStateSet.h"
1166                 "GraphicsPipeline/Common/GraphicsPipelineStateSet.cpp"
1167                 "GraphicsPipeline/Common/RenderPassScheduler.h"
1168                 "GraphicsPipeline/Common/RenderPassScheduler.cpp"
1169                 "GraphicsPipeline/Common/PrimitiveRenderPass.h"
1170                 "GraphicsPipeline/Common/PrimitiveRenderPass.cpp"
1171                 "GraphicsPipeline/Common/RenderPassBase.h"
1172                 "GraphicsPipeline/Common/SceneRenderPass.h"
1173                 "GraphicsPipeline/Common/SceneRenderPass.cpp"
1174                 "GraphicsPipeline/Common/UtilityPasses.h"
1175                 "GraphicsPipeline/Common/UtilityPasses.cpp"
1178 add_sources("NoUberFile"
1179         PROJECTS CryRenderGNM CryRenderD3D11 CryRenderD3D12 CryRenderVulkan CryRenderOpenGL
1180         SOURCE_GROUP "Root"
1181                 "../StdAfx.cpp"
1182                 "../StdAfx.h"
1183                 "ResourceCompilerHelpers.cpp"
1186 end_sources()
1187 #END-FILE-LIST
1189 set(extra_defines)
1191 if(PLUGIN_VR_OCULUS OR PLUGIN_VR_OSVR OR PLUGIN_VR_OPENVR)
1192         message(STATUS "Enabling VR rendering.")
1193         list(APPEND extra_defines -DINCLUDE_VR_RENDERING)
1194 endif()
1196 if (NOT EXISTS "${SDK_DIR}/NVIDIA/NVAPI_r386")
1197         message(STATUS "NVAPI SDK v.386 not found, excluding from the build.")
1198         list(APPEND extra_defines -DEXCLUDE_NV_API)
1199 endif()
1201 if (NOT EXISTS "${SDK_DIR}/AMD/AGS Lib")
1202         message(STATUS "AMD AGS SDK not found, excluding from the build.")
1203         list(APPEND extra_defines -DEXCLUDE_AMD_API)
1204 endif()
1206 if (RENDERER_DX11)
1207         CryEngineModule(CryRenderD3D11 FORCE_SHARED_WIN PCH "../StdAfx.cpp" SOLUTION_FOLDER "CryEngine")
1208         
1209         target_include_directories(${THIS_PROJECT} PRIVATE .. "${SDK_DIR}/squish-ccr")
1210         target_link_libraries(${THIS_PROJECT} PRIVATE lzma lzss lz4 zlib)
1212         if (WINDOWS)
1213                 set_property(TARGET ${THIS_PROJECT} APPEND_STRING PROPERTY LINK_FLAGS " /NODEFAULTLIB:libcmt.lib")
1214                 target_compile_definitions(${THIS_PROJECT} PRIVATE -DCRY_RENDERER_DIRECT3D=110 -DDO_RENDERSTATS -D_RENDERER ${extra_defines})
1215                 target_link_libraries(${THIS_PROJECT} PRIVATE dxguid d3d11 d3d10 d3dcompiler Ole32 Gdi32 wininet Shell32 png16 tiff)
1216         elseif(DURANGO)
1217                 target_compile_definitions(${THIS_PROJECT} PRIVATE -DCRY_RENDERER_DIRECT3D=111 -DDO_RENDERSTATS -D_RENDERER ${extra_defines})
1218                 target_link_libraries(${THIS_PROJECT} PRIVATE ws2_32 SmartGlassInterop d3d11_x d3dcompiler dxguid xg_x uuid kernelx)
1219         elseif(ORBIS)
1220                 target_include_directories(${THIS_PROJECT} PRIVATE ../../.. )
1221                 target_compile_definitions(${THIS_PROJECT} PRIVATE -DCRY_RENDERER_DIRECT3D=111 -DDO_RENDERSTATS -D_RENDERER ${extra_defines})
1222                 target_compile_options(${THIS_PROJECT} PRIVATE $<$<CONFIG:Release>:-flto>)
1223                 target_link_libraries(${THIS_PROJECT} PRIVATE SceSystemService_stub_weak SceGnmDriver_stub_weak $<$<NOT:$<CONFIG:Release>>:SceGnm> $<$<NOT:$<CONFIG:Release>>:SceGnmx> $<$<CONFIG:Release>:SceGnm_lto> $<$<CONFIG:Release>:SceGnmx_lto>)
1224         endif()
1225 else()
1226         CryFileContainer(CryRenderD3D11 SOLUTION_FOLDER "CryEngine")
1227 endif()
1229 if (RENDERER_OPENGL)
1230         CryEngineModule(CryRenderOpenGL FORCE_SHARED_WIN PCH "../StdAfx.cpp" SOLUTION_FOLDER "CryEngine")
1231         target_include_directories(${THIS_PROJECT} PRIVATE .. "${SDK_DIR}/squish-ccr")
1232         target_compile_definitions(${THIS_PROJECT} PRIVATE -DCRY_RENDERER_DIRECT3D=110 -DCRY_RENDERER_OPENGL=440 -DDO_RENDERSTATS -D_RENDERER ${extra_defines})
1233         target_link_libraries(${THIS_PROJECT} PRIVATE lzma lzss lz4 zlib)
1235         if (WINDOWS)
1236                 target_include_directories(${THIS_PROJECT} PRIVATE "${SDK_DIR}/squish-ccr" "${CRYENGINE_DIR}/Code/Tools/LibTIFF" "${CRYENGINE_DIR}/Code/Tools/HLSLCrossCompiler/include")
1237                 set_property(TARGET ${THIS_PROJECT} APPEND_STRING PROPERTY LINK_FLAGS " /NODEFAULTLIB:libcmt.lib")
1238                 target_link_libraries(${THIS_PROJECT} PRIVATE opengl32 winmm Ole32 Gdi32 wininet Shell32 png16 tiff)
1239                 find_library(LIBHLSLCC libHLSLcc PATHS "${CRYENGINE_DIR}/Code/Tools/HLSLCrossCompiler/lib/win64")
1240                 mark_as_advanced(FORCE LIBHLSLCC)
1241                 target_link_libraries(${THIS_PROJECT} PRIVATE "${LIBHLSLCC}")
1242         elseif(APPLE)
1243                 target_include_directories(${THIS_PROJECT} PRIVATE "${SDK_DIR}/SDL2/include/SDL" "${SDK_DIR}/SDL2/include/mac" "${CRYENGINE_DIR}/Code/Tools/LibTIFF" "${CRYENGINE_DIR}/Code/Tools/HLSLCrossCompiler/include")
1244                 find_library(SDL2 SDL2 PATHS "${SDK_DIR}/SDL2/lib/mac")
1245                 find_library(LIBHLSLCC HLSLcc PATHS "${CRYENGINE_DIR}/Code/Tools/HLSLCrossCompiler/lib/mac")
1246                 find_library(OPENGL OpenGL)
1247                 find_library(APPLICATIONSERVICES ApplicationServices)
1248                 find_library(IOKIT IOKit)
1249                 target_link_libraries(${THIS_PROJECT} PRIVATE "${SDL2}" "${LIBHLSLCC}" "${OPENGL}" "${APPLICATIONSERVICES}" "${IOKIT}")
1250         elseif(LINUX)
1251                 target_link_libraries(${THIS_PROJECT} PRIVATE SDL2)
1252                 target_include_directories(${THIS_PROJECT} PRIVATE "${CRYENGINE_DIR}/Code/Tools/HLSLCrossCompiler/include")
1253                 if(LINUX64)
1254                         find_library(LIBHLSLCC HLSLcc PATHS "${CRYENGINE_DIR}/Code/Tools/HLSLCrossCompiler/lib/linux")
1255                         target_link_libraries(${THIS_PROJECT} PRIVATE "${LIBHLSLCC}")
1256                 endif()
1257         elseif(ANDROID)
1258 #               target_compile_definitions(${THIS_PROJECT} PRIVATE -DGLEW_MX -DDXGL_ANDROID_GL)
1259                 target_compile_definitions(${THIS_PROJECT} PRIVATE -DGLEW_MX -DOPENGL_ES)
1261                 target_include_directories(${THIS_PROJECT} PRIVATE
1262                         "${CRYENGINE_DIR}/Code/CryEngine/CrySystem"
1263                         "${SDK_DIR}/SDL2/include/SDL"
1264                         "${SDK_DIR}/SDL2/include/linux"
1265                         "${CRYENGINE_DIR}/Code/Tools/SDLExtension/src/include"
1266                         "${CRYENGINE_DIR}/Code/Tools/HLSLCrossCompiler/include")
1267                 target_link_libraries(${THIS_PROJECT} PRIVATE EGL GLESv1_CM SDL2)
1268         endif()
1269 else()
1270         CryFileContainer(CryRenderOpenGL SOLUTION_FOLDER "CryEngine")
1271 endif()
1273 if(RENDERER_DX12 OR RENDERER_VULKAN)
1274         if(WINDOWS)
1275                 if(${CMAKE_GENERATOR} MATCHES "Visual Studio")
1276                         option(USE_DXC "Enable DXC Compiler for DX12 Shader Compilation" OFF)
1277                 endif()
1278         endif()
1280         if(USE_DXC)
1281                 include("${TOOLS_CMAKE_DIR}/modules/DXC.cmake")
1282                 add_definitions(-DUSE_DXC)
1283         endif()
1285 endif()
1287 if (RENDERER_DX12)
1288         CryEngineModule(CryRenderD3D12 FORCE_SHARED_WIN PCH "../StdAfx.cpp" SOLUTION_FOLDER "CryEngine")
1290         target_compile_definitions(${THIS_PROJECT} PRIVATE -DCRY_RENDERER_DIRECT3D=120 -DDO_RENDERSTATS -D_RENDERER ${extra_defines})
1291         target_include_directories(${THIS_PROJECT} PRIVATE .. "${SDK_DIR}" "${SDK_DIR}/squish-ccr" "${CRYENGINE_DIR}/Code/Tools/LibTIFF" "${CRYENGINE_DIR}/Code/CryEngine/RenderDll/XRenderD3D9/DX12/Includes")
1292         target_link_libraries(${THIS_PROJECT} PRIVATE lzma lzss lz4 zlib)
1294         if (WINDOWS)
1295                 set_property(TARGET ${THIS_PROJECT} APPEND_STRING PROPERTY LINK_FLAGS " /NODEFAULTLIB:libcmt.lib")
1296                 target_link_libraries(${THIS_PROJECT} PRIVATE lzma lzss lz4 zlib dxguid d3d12 dxgi d3dcompiler Ole32 Gdi32 wininet Shell32 png16 tiff)
1297                 target_link_libraries(${THIS_PROJECT} PRIVATE WinPixEventRuntime)
1298         elseif(DURANGO)
1299                 target_link_libraries(${THIS_PROJECT} PRIVATE ws2_32 SmartGlassInterop d3d12_x d3dcompiler dxguid xg_x uuid kernelx)
1300         endif()
1302         if(USE_DXC)
1303                 target_link_libraries(${THIS_PROJECT} PRIVATE DXC)
1304         endif()
1306 else()
1307         CryFileContainer(CryRenderD3D12 SOLUTION_FOLDER "CryEngine")
1308 endif()
1310 if (RENDERER_VULKAN)
1311         add_subdirectory("${CRY_LIBS_DIR}/spirv-cross" "${CMAKE_CURRENT_BINARY_DIR}/spirv-cross")
1313         CryEngineModule(CryRenderVulkan FORCE_SHARED_WIN PCH "../StdAfx.cpp" SOLUTION_FOLDER "CryEngine")
1314         target_compile_definitions(${THIS_PROJECT} PRIVATE -DCRY_RENDERER_VULKAN=10 -DDO_RENDERSTATS -D_RENDERER -DSPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS)
1315         target_include_directories(${THIS_PROJECT} PRIVATE ..)
1316         target_include_directories(${THIS_PROJECT} PRIVATE "${SDK_DIR}/squish-ccr")
1317         target_link_libraries(${THIS_PROJECT} PRIVATE lzma lzss lz4 zlib spirv-cross)
1318         if(WINDOWS)
1319                 target_include_directories(${THIS_PROJECT} PRIVATE "${SDK_DIR}/VulkanSDK/Include")
1320                 target_link_libraries(${THIS_PROJECT} PRIVATE Ole32 Gdi32 wininet Shell32 png16 dxguid vulkan-1 tiff)
1321                 set_property(TARGET ${THIS_PROJECT} APPEND_STRING PROPERTY LINK_FLAGS " /NODEFAULTLIB:libcmt.lib")
1322                 set_libpath_flag()
1323                 set_property(TARGET ${THIS_PROJECT} APPEND_STRING PROPERTY LINK_FLAGS " ${LIBPATH_FLAG}\"${SDK_DIR}/VulkanSDK/Lib\"")
1324         elseif(ANDROID)
1325                 target_compile_options(${THIS_PROJECT} PRIVATE -std=c++14)
1326                 find_library(LIBVULKAN vulkan PATHS "${CMAKE_ANDROID_NDK}/platforms/android-${CMAKE_SYSTEM_VERSION}/arch-${CMAKE_ANDROID_ARCH_FOLDER}/usr/lib/")
1327                 target_include_directories(${THIS_PROJECT} PRIVATE "${CMAKE_ANDROID_NDK}/sources/third_party/vulkan/src/include")
1328                 target_include_directories(${THIS_PROJECT} PRIVATE "${CRYENGINE_DIR}/Code/Tools/HLSLCrossCompiler/include")
1329                 target_link_libraries(${THIS_PROJECT} PRIVATE SDL2)
1330                 target_link_libraries(${THIS_PROJECT} PRIVATE ${LIBVULKAN})
1331         elseif(LINUX)
1332                 target_compile_options(${THIS_PROJECT} PRIVATE -std=c++14)
1333                 find_library(LIBVULKAN vulkan PATHS "${SDK_DIR}/VulkanSDK/x86_64/lib")
1334                 target_include_directories(${THIS_PROJECT} PRIVATE "${SDK_DIR}/VulkanSDK/x86_64/include")
1335                 target_link_libraries(${THIS_PROJECT} PRIVATE SDL2)
1336                 target_link_libraries(${THIS_PROJECT} PRIVATE ${LIBVULKAN})
1337         endif()
1339         if(USE_DXC)
1340                 target_link_libraries(${THIS_PROJECT} PRIVATE DXC)
1341         endif()
1343         if (ORBIS OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
1344                 target_compile_options(${THIS_PROJECT} PRIVATE
1345                         -Wno-unused-value
1346                         -Wno-unknown-pragmas
1347                         -Wno-format
1348                         -Wno-unused-private-field
1349                         -Wno-multichar
1350                         -Wno-switch
1351                         -Wno-unused-function
1352                         -Wno-invalid-offsetof
1353                         -Wno-null-conversion
1354                 )
1355   elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
1356                 target_compile_options(${THIS_PROJECT} PRIVATE
1357                         -Wno-unused-function
1358                         -Wno-unused-value
1359                         -Wno-sign-compare
1360                         -Wno-ignored-attributes
1361                         -Wno-int-in-bool-context
1362                         -Wno-unused-but-set-variable
1363                         -Wno-tautological-compare
1364                         -Wno-misleading-indentation
1365                         -Wno-uninitialized
1366                         -Wno-maybe-uninitialized
1367                         -Wno-array-bounds
1368                         -Wno-unused-result
1369                         -Wno-narrowing
1370                         -Wno-unknown-pragmas
1371                         -Wno-strict-aliasing
1372                         -Wno-multichar
1373                         -Wno-char-subscripts
1374                         -Wno-parentheses
1375                         -Wno-comment
1376                         -Wno-address
1377                         -Wno-format
1378                         -Wno-switch
1379                         -Wno-psabi
1380                 )
1381   endif()
1382 else()
1383         CryFileContainer(CryRenderVulkan SOLUTION_FOLDER "CryEngine")
1384 endif()
1386 if (EXISTS "$ENV{SCE_ORBIS_SDK_DIR}" AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/GNM")
1387         if (RENDERER_GNM)
1388                 list(APPEND extra_defines -DGNM_FEATURE_VALIDATION=$<AND:$<NOT:$<CONFIG:Release>>,$<BOOL:RENDERER_GNM>>)
1389                 CryEngineModule(CryRenderGNM PCH "../StdAfx.cpp" SOLUTION_FOLDER "CryEngine")
1390                 target_include_directories(${THIS_PROJECT} PRIVATE ..)
1391                 target_compile_definitions(${THIS_PROJECT} PRIVATE -D_RENDERER -DDO_RENDERSTATS -DCRY_RENDERER_GNM=40 ${extra_defines})
1392                 target_compile_options(${THIS_PROJECT} PRIVATE $<$<CONFIG:Release>:-flto>)
1393                 target_link_libraries(${THIS_PROJECT} PRIVATE lzma lzss lz4 zlib SceSystemService_stub_weak SceGnmDriver_stub_weak $<$<NOT:$<CONFIG:Release>>:SceGnm> $<$<NOT:$<CONFIG:Release>>:SceGnmx> $<$<NOT:$<CONFIG:Release>>:SceDbg_stub_weak> $<$<CONFIG:Release>:SceGnm_lto> $<$<CONFIG:Release>:SceGnmx_lto>)
1395                 target_compile_options(${THIS_PROJECT} PRIVATE
1396                         -Wno-parentheses
1397                         -Wno-reorder
1398                         -Wno-unused-value
1399                         -Wno-unknown-pragmas
1400                         -Wno-format
1401                         -Wno-unused-private-field
1402                         -Wno-multichar
1403                         -Wno-switch
1404                         -Wno-unused-function
1405                         -Wno-overloaded-virtual
1406                         -Wno-tautological-compare
1407                         -Wno-unused-lambda-capture
1408                         -Wno-invalid-offsetof
1409                         -Wno-c++11-narrowing
1410                         -Wno-empty-body
1411                         -Wno-self-assign
1412                         -Wno-logical-op-parentheses
1413                         -Wno-null-conversion
1414                 )
1415         else()
1416                 CryFileContainer(CryRenderGNM SOLUTION_FOLDER "CryEngine")
1417         endif()
1418 endif()