Initial commit

This commit is contained in:
alexpete
2021-03-05 11:26:34 -08:00
commit a10351f38d
27091 changed files with 5521199 additions and 0 deletions
@@ -0,0 +1,13 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
set(CRYRENDER_TRAIT_BUILD_DX11_SUPPORTED FALSE)
set(CRYRENDER_TRAIT_BUILD_DX12_SUPPORTED FALSE)
@@ -0,0 +1,11 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
@@ -0,0 +1,10 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
@@ -0,0 +1,13 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
set(CRYRENDER_TRAIT_BUILD_DX11_SUPPORTED FALSE)
set(CRYRENDER_TRAIT_BUILD_DX12_SUPPORTED FALSE)
@@ -0,0 +1,10 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
@@ -0,0 +1,15 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
set(LY_BUILD_DEPENDENCIES
PUBLIC
3rdParty::squish-ccr
)
@@ -0,0 +1,13 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
set(CRYRENDER_TRAIT_BUILD_DX11_SUPPORTED FALSE)
set(CRYRENDER_TRAIT_BUILD_DX12_SUPPORTED FALSE)
@@ -0,0 +1,10 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
@@ -0,0 +1,15 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
set(LY_BUILD_DEPENDENCIES
PUBLIC
3rdParty::squish-ccr
)
@@ -0,0 +1,35 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
find_file(d3d12_header
d3d12.h
PATHS
"$ENV{ProgramFiles\(x86\)}\\Windows Kits\\10\\Include\\${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}\\um"
)
mark_as_advanced(d3d12_header)
if(NOT d3d12_header)
message(FATAL_ERROR "Direct3D 12 header was not found in $ENV{ProgramFiles\(x86\)}\\Windows Kits\\10\\Include\\${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}\\um")
endif()
set(CRYRENDER_TRAIT_BUILD_DX11_SUPPORTED TRUE)
set(CRYRENDER_TRAIT_BUILD_DX12_SUPPORTED TRUE)
# win2012 nodes can build DX11/DX12, but can't run. Disable runtime support if d3d12.dll/d3d11.dll is not available
set(CRYRENDER_TRAIT_RUNTIME_DX12_SUPPORTED FALSE)
find_file(d3d12_dll
d3d12.dll
PATHS
"$ENV{SystemRoot}\\System32"
)
mark_as_advanced(d3d12_dll)
if(d3d12_dll)
set(CRYRENDER_TRAIT_RUNTIME_DX12_SUPPORTED TRUE)
endif()
@@ -0,0 +1,10 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
@@ -0,0 +1,21 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
set(LY_COMPILE_DEFINITIONS
PUBLIC
DO_RENDERLOG
)
set(LY_BUILD_DEPENDENCIES
PUBLIC
d3dcompiler
dxguid
3rdParty::squish-ccr
)
@@ -0,0 +1,14 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
set(FILES
../../D3DMeshBaker.cpp
)
@@ -0,0 +1,17 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
set(LY_BUILD_DEPENDENCIES
PRIVATE
d3d11
3rdParty::nvapi
3rdParty::AMD
)
@@ -0,0 +1,13 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
set(FILES
)
@@ -0,0 +1,18 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
set(LY_BUILD_DEPENDENCIES
PUBLIC
3rdParty::nvapi
3rdParty::AMD
d3d12
dxgi
)
@@ -0,0 +1,110 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
set(FILES
../../DX12/CCryDX12Object.cpp
../../DX12/CCryDX12Object.hpp
../../DX12/CryDX12.cpp
../../DX12/CryDX12.hpp
../../DX12/CryDX12Guid.hpp
../../DX12/CryDX12Legacy.hpp
../../DX12/API/DX12Base.cpp
../../DX12/API/DX12CommandList.cpp
../../DX12/API/DX12CommandListFence.cpp
../../DX12/API/DX12DescriptorHeap.cpp
../../DX12/API/DX12QueryHeap.cpp
../../DX12/API/DX12Device.cpp
../../DX12/API/DX12PSO.cpp
../../DX12/API/DX12Resource.cpp
../../DX12/API/DX12ResourceBarrierCache.cpp
../../DX12/API/DX12RootSignature.cpp
../../DX12/API/DX12Shader.cpp
../../DX12/API/DX12View.cpp
../../DX12/API/DX12SamplerState.cpp
../../DX12/API/DX12TimerHeap.cpp
../../DX12/API/DX12SwapChain.cpp
../../DX12/API/DX12Base.hpp
../../DX12/API/DX12CommandList.hpp
../../DX12/API/DX12CommandListFence.hpp
../../DX12/API/DX12DescriptorHeap.hpp
../../DX12/API/DX12QueryHeap.hpp
../../DX12/API/DX12Device.hpp
../../DX12/API/DX12PSO.hpp
../../DX12/API/DX12Resource.hpp
../../DX12/API/DX12ResourceBarrierCache.h
../../DX12/API/DX12RootSignature.hpp
../../DX12/API/DX12Shader.hpp
../../DX12/API/DX12View.hpp
../../DX12/API/DX12SamplerState.hpp
../../DX12/API/DX12SwapChain.hpp
../../DX12/API/DX12TimerHeap.h
../../DX12/API/DX12AsyncCommandQueue.hpp
../../DX12/API/DX12AsyncCommandQueue.cpp
../../DX12/Device/CCryDX12Device.cpp
../../DX12/Device/CCryDX12DeviceChild.cpp
../../DX12/Device/CCryDX12DeviceContext.cpp
../../DX12/Device/CCryDX12Device.hpp
../../DX12/Device/CCryDX12DeviceChild.hpp
../../DX12/Device/CCryDX12DeviceContext.hpp
../../DX12/GI/CCryDX12GIFactory.cpp
../../DX12/GI/CCryDX12SwapChain.cpp
../../DX12/GI/CCryDX12GIFactory.hpp
../../DX12/GI/CCryDX12SwapChain.hpp
../../DX12/Misc/SCryDX11PipelineState.cpp
../../DX12/Misc/SCryDX11PipelineState.hpp
../../DX12/Resource/CCryDX12Asynchronous.cpp
../../DX12/Resource/CCryDX12Resource.cpp
../../DX12/Resource/CCryDX12View.cpp
../../DX12/Resource/CCryDX12Asynchronous.hpp
../../DX12/Resource/CCryDX12Resource.hpp
../../DX12/Resource/CCryDX12View.hpp
../../DX12/Resource/Misc/CCryDX12Buffer.cpp
../../DX12/Resource/Misc/CCryDX12InputLayout.cpp
../../DX12/Resource/Misc/CCryDX12Query.cpp
../../DX12/Resource/Misc/CCryDX12Shader.cpp
../../DX12/Resource/Misc/CCryDX12Buffer.hpp
../../DX12/Resource/Misc/CCryDX12InputLayout.hpp
../../DX12/Resource/Misc/CCryDX12Query.hpp
../../DX12/Resource/Misc/CCryDX12Shader.hpp
../../DX12/Resource/State/CCryDX12BlendState.cpp
../../DX12/Resource/State/CCryDX12DepthStencilState.cpp
../../DX12/Resource/State/CCryDX12RasterizerState.cpp
../../DX12/Resource/State/CCryDX12SamplerState.cpp
../../DX12/Resource/State/CCryDX12BlendState.hpp
../../DX12/Resource/State/CCryDX12DepthStencilState.hpp
../../DX12/Resource/State/CCryDX12RasterizerState.hpp
../../DX12/Resource/State/CCryDX12SamplerState.hpp
../../DX12/Resource/Texture/CCryDX12Texture1D.cpp
../../DX12/Resource/Texture/CCryDX12Texture2D.cpp
../../DX12/Resource/Texture/CCryDX12Texture3D.cpp
../../DX12/Resource/Texture/CCryDX12TextureBase.cpp
../../DX12/Resource/Texture/CCryDX12Texture1D.hpp
../../DX12/Resource/Texture/CCryDX12Texture2D.hpp
../../DX12/Resource/Texture/CCryDX12Texture3D.hpp
../../DX12/Resource/Texture/CCryDX12TextureBase.hpp
../../DX12/Resource/View/CCryDX12DepthStencilView.cpp
../../DX12/Resource/View/CCryDX12RenderTargetView.cpp
../../DX12/Resource/View/CCryDX12ShaderResourceView.cpp
../../DX12/Resource/View/CCryDX12UnorderedAccessView.cpp
../../DX12/Resource/View/CCryDX12DepthStencilView.hpp
../../DX12/Resource/View/CCryDX12RenderTargetView.hpp
../../DX12/Resource/View/CCryDX12ShaderResourceView.hpp
../../DX12/Resource/View/CCryDX12UnorderedAccessView.hpp
../../DX12/Includes/d3d11tokenizedprogramformat.hpp
../../DX12/Includes/d3dx12.h
../../DX12/Includes/fasthash.inl
../../DX12/Includes/fasthash.h
../../DX12/Includes/concqueue.hpp
../../DX12/Includes/concqueue-mpmc-bounded.hpp
../../DX12/Includes/concqueue-mpsc.hpp
../../DX12/Includes/concqueue-spsc-bounded.hpp
../../DX12/Includes/concqueue-spsc.hpp
)
@@ -0,0 +1,13 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
set(CRYRENDER_TRAIT_BUILD_DX11_SUPPORTED FALSE)
set(CRYRENDER_TRAIT_BUILD_DX12_SUPPORTED FALSE)
@@ -0,0 +1,10 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
@@ -0,0 +1,11 @@
#
# All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
# its licensors.
#
# For complete copyright and license terms please see the LICENSE at the root of this
# distribution (the "License"). All use of this software is governed by the License,
# or, if provided, by the license below or the license accompanying this file. Do not
# remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#