Skip to content

Commit f446ffd

Browse files
committed
Initial commit
1 parent 25c41ca commit f446ffd

File tree

60 files changed

+4047
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+4047
-0
lines changed

LICENSE.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved.
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# AMD Crossfire API Sample
2+
<img src="crossfireapi11/media/Thumbnail.png" width="480" height="284" />
3+
4+
The CrossfireAPI11 DirectX&reg; 11 sample demonstrates how to use the explicit Crossfire API. This driver extension provides the ability to control resource transfers between GPUs in Crossfire configuration in DirectX 11. This allows improved performance in multi-GPU configurations.
5+
6+
The CrossfireAPI11 sample shows how the Crossfire API is used in the context of shadow caching. The sample shows:
7+
* How to use different transfer modes with the Crossfire API
8+
* How to reduce contentions using 2-step transfers
9+
* How different shadow map layouts affect Crossfire performance
10+
* How different shadow update schemes affect Crossfire performance
11+
12+
The CrossfireAPI11 sample uses the ShadowFX library. For information on ShadowFX, visit the ShadowFX repository: https://github.com/GPUOpen-Effects/ShadowFX
13+
14+
The Crossfire API driver extension is accessed through the AMD GPU Services (AGS) library. For more information on AGS, including samples, visit the AGS SDK repository: https://github.com/GPUOpen-LibrariesAndSDKs/AGS_SDK
15+
16+
The CrossfireAPI11 sample also comes with an extensive guide for multi-GPU: the *AMD Crossfire guide for Direct3D&reg; 11 applications*. It describes the Crossfire implementation in AMD drivers and documents the Crossfire API extensions. The information available in the guide is:
17+
* How to navigate AMD Radeon Settings to control Crossfire
18+
* How user and driver profiles work
19+
* How the AFR-Compatible mode works
20+
* How to make an application AFR-Friendly
21+
* How to use the Crossfire API to control resource transfers and synchronizations between GPUs
22+
* How to minimize memory transfers using the API
23+
* How to minimize contention when using the API
24+
* How to disable Crossfire programmatically
25+
* How to force an application to execute on a discrete GPU rather than an integrated GPU
26+
27+
### Prerequisites
28+
* AMD Radeon&trade; GCN-based GPU (HD 7000 series or newer)
29+
* 64-bit Windows&reg; 7 (SP1 with the [Platform Update](https://msdn.microsoft.com/en-us/library/windows/desktop/jj863687.aspx)), Windows&reg; 8.1, or Windows&reg; 10
30+
* Visual Studio&reg; 2012, Visual Studio&reg; 2013, or Visual Studio&reg; 2015
31+
* Radeon Software Crimson Edition Graphics Driver, version 16.2 or later
32+
33+
### Getting Started
34+
* Visual Studio solutions for VS2012, VS2013, and VS2015 can be found in the `crossfireapi11\build` directory.
35+
* Additional documentation can be found in the `crossfireapi11\doc` directory.
36+
37+
### Premake
38+
The Visual Studio solutions and projects in this repo were generated with Premake. To generate the project files yourself (for another version of Visual Studio, for example), open a command prompt in the `premake` directory and execute the following command:
39+
40+
* `update_vs_files_for_dx11_sample.bat crossfireapi11 [action]`
41+
* For example: `update_vs_files_for_dx11_sample.bat crossfireapi11 vs2010`
42+
43+
This version of Premake has been modified from the stock version to use the property sheet technique for the Windows SDK from this [Visual C++ Team blog post](http://blogs.msdn.com/b/vcblog/archive/2012/11/23/using-the-windows-8-sdk-with-visual-studio-2010-configuring-multiple-projects.aspx). The technique was originally described for using the Windows 8.0 SDK with Visual Studio 2010, but it applies more generally to using newer versions of the Windows SDK with older versions of Visual Studio.
44+
45+
The default SDK for a particular version of Visual Studio (for 2012 or higher) is installed as part of Visual Studio installation. This default (Windows 8.0 SDK for Visual Studio 2012 and Windows 8.1 SDK for Visual Studio 2013) will be used if newer SDKs do not exist on the user's machine. However, the projects generated with this version of Premake will use the next higher SDK (Windows 8.1 SDK for Visual Studio 2012 and Windows 10 SDK with Visual Studio 2013), if the newer SDKs exist on the user's machine.
46+
47+
For Visual Studio 2015, this version of Premake adds the `WindowsTargetPlatformVersion` element to the project file to specify which version of the Windows SDK will be used. To change `WindowsTargetPlatformVersion` for Visual Studio 2015, change the value for `_AMD_WIN_SDK_VERSION` in `premake\amd_premake_util.lua` and regenerate the Visual Studio files.
48+
49+
### Third-Party Software
50+
* DXUT is distributed under the terms of the MIT License. See `dxut\MIT.txt`.
51+
* Premake is distributed under the terms of the BSD License. See `premake\LICENSE.txt`.
52+
53+
### Attribution
54+
* AMD, the AMD Arrow logo, Radeon, and combinations thereof are either registered trademarks or trademarks of Advanced Micro Devices, Inc. in the United States and/or other countries.
55+
* Microsoft, Direct3D, DirectX, Visual Studio, and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.

crossfireapi11/.gitignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
## Ignore Visual Studio temporary files, build results, etc.
2+
3+
# User-specific files
4+
*.suo
5+
*.user
6+
7+
# Build results
8+
[Dd]esktop_*/
9+
CrossfireAPI11_Debug_*.*
10+
CrossfireAPI11_Release_*.*
11+
12+
# Visual Studo 2015 cache/options directory
13+
.vs/
14+
15+
# Visual C++ cache files
16+
ipch/
17+
*.aps
18+
*.ncb
19+
*.opensdf
20+
*.sdf
21+
*.cachefile
22+
23+
# Visual Studio profiler
24+
*.psess
25+
*.vsp
26+
*.vspx
27+
28+
# Installshield output folder
29+
[Ee]xpress/
30+
31+
# Backup & report files from converting an old project file
32+
# to a newer Visual Studio version. Backup files are not needed,
33+
# because we have git ;-)
34+
_UpgradeReport_Files/
35+
Backup*/
36+
UpgradeLog*.XML
37+
UpgradeLog*.htm
38+
39+
# Shader cache
40+
[Bb]in/Shaders/
41+
HashDigest.html
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2012
4+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CrossfireAPI11", "CrossfireAPI11_2012.vcxproj", "{B125D461-9DF3-C767-8687-388E72F4A3CC}"
5+
EndProject
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AMD_LIB", "..\..\AMD_LIB\build\AMD_LIB_2012.vcxproj", "{0D2AEA47-7909-69E3-8221-F4B9EE7FCF44}"
7+
EndProject
8+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AMD_SDK_Minimal", "..\..\AMD_SDK\build\AMD_SDK_Minimal_2012.vcxproj", "{EBB939DC-98E4-49DF-B1F1-D2E80A11F60A}"
9+
EndProject
10+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DXUT", "..\..\DXUT\Core\DXUT_2012.vcxproj", "{85344B7F-5AA0-4E12-A065-D1333D11F6CA}"
11+
EndProject
12+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DXUTOpt", "..\..\DXUT\Optional\DXUTOpt_2012.vcxproj", "{61B333C2-C4F7-4CC1-A9BF-83F6D95588EB}"
13+
EndProject
14+
Global
15+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
16+
Debug|x64 = Debug|x64
17+
Release|x64 = Release|x64
18+
EndGlobalSection
19+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
20+
{B125D461-9DF3-C767-8687-388E72F4A3CC}.Debug|x64.ActiveCfg = Debug|x64
21+
{B125D461-9DF3-C767-8687-388E72F4A3CC}.Debug|x64.Build.0 = Debug|x64
22+
{B125D461-9DF3-C767-8687-388E72F4A3CC}.Release|x64.ActiveCfg = Release|x64
23+
{B125D461-9DF3-C767-8687-388E72F4A3CC}.Release|x64.Build.0 = Release|x64
24+
{0D2AEA47-7909-69E3-8221-F4B9EE7FCF44}.Debug|x64.ActiveCfg = Debug|x64
25+
{0D2AEA47-7909-69E3-8221-F4B9EE7FCF44}.Debug|x64.Build.0 = Debug|x64
26+
{0D2AEA47-7909-69E3-8221-F4B9EE7FCF44}.Release|x64.ActiveCfg = Release|x64
27+
{0D2AEA47-7909-69E3-8221-F4B9EE7FCF44}.Release|x64.Build.0 = Release|x64
28+
{EBB939DC-98E4-49DF-B1F1-D2E80A11F60A}.Debug|x64.ActiveCfg = Debug|x64
29+
{EBB939DC-98E4-49DF-B1F1-D2E80A11F60A}.Debug|x64.Build.0 = Debug|x64
30+
{EBB939DC-98E4-49DF-B1F1-D2E80A11F60A}.Release|x64.ActiveCfg = Release|x64
31+
{EBB939DC-98E4-49DF-B1F1-D2E80A11F60A}.Release|x64.Build.0 = Release|x64
32+
{85344B7F-5AA0-4E12-A065-D1333D11F6CA}.Debug|x64.ActiveCfg = Debug|x64
33+
{85344B7F-5AA0-4E12-A065-D1333D11F6CA}.Debug|x64.Build.0 = Debug|x64
34+
{85344B7F-5AA0-4E12-A065-D1333D11F6CA}.Release|x64.ActiveCfg = Release|x64
35+
{85344B7F-5AA0-4E12-A065-D1333D11F6CA}.Release|x64.Build.0 = Release|x64
36+
{61B333C2-C4F7-4CC1-A9BF-83F6D95588EB}.Debug|x64.ActiveCfg = Debug|x64
37+
{61B333C2-C4F7-4CC1-A9BF-83F6D95588EB}.Debug|x64.Build.0 = Debug|x64
38+
{61B333C2-C4F7-4CC1-A9BF-83F6D95588EB}.Release|x64.ActiveCfg = Release|x64
39+
{61B333C2-C4F7-4CC1-A9BF-83F6D95588EB}.Release|x64.Build.0 = Release|x64
40+
EndGlobalSection
41+
GlobalSection(SolutionProperties) = preSolution
42+
HideSolutionNode = FALSE
43+
EndGlobalSection
44+
EndGlobal
Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|x64">
5+
<Configuration>Debug</Configuration>
6+
<Platform>x64</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Release|x64">
9+
<Configuration>Release</Configuration>
10+
<Platform>x64</Platform>
11+
</ProjectConfiguration>
12+
</ItemGroup>
13+
<PropertyGroup Label="Globals">
14+
<ProjectGuid>{B125D461-9DF3-C767-8687-388E72F4A3CC}</ProjectGuid>
15+
<Keyword>Win32Proj</Keyword>
16+
<RootNamespace>CrossfireAPI11</RootNamespace>
17+
<ProjectName>CrossfireAPI11</ProjectName>
18+
</PropertyGroup>
19+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
20+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
21+
<ConfigurationType>Application</ConfigurationType>
22+
<UseDebugLibraries>true</UseDebugLibraries>
23+
<CharacterSet>Unicode</CharacterSet>
24+
<PlatformToolset>v110</PlatformToolset>
25+
</PropertyGroup>
26+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
27+
<ConfigurationType>Application</ConfigurationType>
28+
<UseDebugLibraries>false</UseDebugLibraries>
29+
<CharacterSet>Unicode</CharacterSet>
30+
<PlatformToolset>v110</PlatformToolset>
31+
<WholeProgramOptimization>true</WholeProgramOptimization>
32+
</PropertyGroup>
33+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
34+
<ImportGroup Label="ExtensionSettings">
35+
</ImportGroup>
36+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
37+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
38+
<Import Project="Windows81SDKVS12_x64.props" Condition="exists('$(ProgramFiles)\Windows Kits\8.1\Include\um\Windows.h')" />
39+
</ImportGroup>
40+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
41+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
42+
<Import Project="Windows81SDKVS12_x64.props" Condition="exists('$(ProgramFiles)\Windows Kits\8.1\Include\um\Windows.h')" />
43+
</ImportGroup>
44+
<PropertyGroup Label="UserMacros" />
45+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
46+
<LinkIncremental>true</LinkIncremental>
47+
<OutDir>..\bin\</OutDir>
48+
<IntDir>Desktop_2012\x64\Debug\</IntDir>
49+
<TargetName>CrossfireAPI11_Debug_2012</TargetName>
50+
<TargetExt>.exe</TargetExt>
51+
</PropertyGroup>
52+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
53+
<LinkIncremental>false</LinkIncremental>
54+
<OutDir>..\bin\</OutDir>
55+
<IntDir>Desktop_2012\x64\Release\</IntDir>
56+
<TargetName>CrossfireAPI11_Release_2012</TargetName>
57+
<TargetExt>.exe</TargetExt>
58+
</PropertyGroup>
59+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
60+
<ClCompile>
61+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
62+
<WarningLevel>Level4</WarningLevel>
63+
<TreatWarningAsError>true</TreatWarningAsError>
64+
<PreprocessorDefinitions>WIN32;_DEBUG;DEBUG;PROFILE;_WINDOWS;_WIN32_WINNT=0x0601;%(PreprocessorDefinitions)</PreprocessorDefinitions>
65+
<AdditionalIncludeDirectories>..\src\ResourceFiles;..\..\AMD_LIB\inc;..\..\AMD_SDK\inc;..\..\DXUT\Core;..\..\DXUT\Optional;..\..\ags_lib\inc;..\gpuopen_fx\ShadowFX\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
66+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
67+
<Optimization>Disabled</Optimization>
68+
<FloatingPointModel>Fast</FloatingPointModel>
69+
</ClCompile>
70+
<ResourceCompile>
71+
<PreprocessorDefinitions>WIN32;_DEBUG;DEBUG;PROFILE;_WINDOWS;_WIN32_WINNT=0x0601;%(PreprocessorDefinitions)</PreprocessorDefinitions>
72+
<AdditionalIncludeDirectories>..\src\ResourceFiles;..\..\AMD_LIB\inc;..\..\AMD_SDK\inc;..\..\DXUT\Core;..\..\DXUT\Optional;..\..\ags_lib\inc;..\gpuopen_fx\ShadowFX\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
73+
</ResourceCompile>
74+
<Link>
75+
<SubSystem>Windows</SubSystem>
76+
<GenerateDebugInformation>true</GenerateDebugInformation>
77+
<AdditionalDependencies>amd_ags_x64.lib;GPUOpen_ShadowFX_x64.lib;d3dcompiler.lib;dxguid.lib;winmm.lib;comctl32.lib;Usp10.lib;Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
78+
<AdditionalLibraryDirectories>..\..\ags_lib\lib;..\gpuopen_fx\ShadowFX\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
79+
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
80+
</Link>
81+
<Manifest>
82+
<AdditionalManifestFiles>../src/ResourceFiles/dpiaware.manifest %(AdditionalManifestFiles)</AdditionalManifestFiles>
83+
</Manifest>
84+
<PostBuildEvent>
85+
<Command>if not exist "..\bin\d3dcompiler_46.dll" if exist "$(ProgramFiles)\Windows Kits\8.0\Redist\D3D\x64\d3dcompiler_46.dll" xcopy "$(ProgramFiles)\Windows Kits\8.0\Redist\D3D\x64\d3dcompiler_46.dll" "..\bin" /H /R /Y &gt; nul
86+
if not exist "..\bin\d3dcompiler_47.dll" if exist "$(ProgramFiles)\Windows Kits\8.1\Redist\D3D\x64\d3dcompiler_47.dll" xcopy "$(ProgramFiles)\Windows Kits\8.1\Redist\D3D\x64\d3dcompiler_47.dll" "..\bin" /H /R /Y &gt; nul
87+
xcopy "..\..\ags_lib\lib\amd_ags_x64.dll" "..\bin" /H /R /Y &gt; nul
88+
xcopy "..\gpuopen_fx\ShadowFX\lib\GPUOpen_ShadowFX_x64.dll" "..\bin" /H /R /Y &gt; nul</Command>
89+
<Message>Copying dependencies...</Message>
90+
</PostBuildEvent>
91+
</ItemDefinitionGroup>
92+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
93+
<ClCompile>
94+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
95+
<WarningLevel>Level4</WarningLevel>
96+
<TreatWarningAsError>true</TreatWarningAsError>
97+
<PreprocessorDefinitions>WIN32;NDEBUG;PROFILE;_WINDOWS;_WIN32_WINNT=0x0601;%(PreprocessorDefinitions)</PreprocessorDefinitions>
98+
<AdditionalIncludeDirectories>..\src\ResourceFiles;..\..\AMD_LIB\inc;..\..\AMD_SDK\inc;..\..\DXUT\Core;..\..\DXUT\Optional;..\..\ags_lib\inc;..\gpuopen_fx\ShadowFX\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
99+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
100+
<Optimization>Full</Optimization>
101+
<FunctionLevelLinking>true</FunctionLevelLinking>
102+
<IntrinsicFunctions>true</IntrinsicFunctions>
103+
<MinimalRebuild>false</MinimalRebuild>
104+
<StringPooling>true</StringPooling>
105+
<FloatingPointModel>Fast</FloatingPointModel>
106+
</ClCompile>
107+
<ResourceCompile>
108+
<PreprocessorDefinitions>WIN32;NDEBUG;PROFILE;_WINDOWS;_WIN32_WINNT=0x0601;%(PreprocessorDefinitions)</PreprocessorDefinitions>
109+
<AdditionalIncludeDirectories>..\src\ResourceFiles;..\..\AMD_LIB\inc;..\..\AMD_SDK\inc;..\..\DXUT\Core;..\..\DXUT\Optional;..\..\ags_lib\inc;..\gpuopen_fx\ShadowFX\inc;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
110+
</ResourceCompile>
111+
<Link>
112+
<SubSystem>Windows</SubSystem>
113+
<GenerateDebugInformation>true</GenerateDebugInformation>
114+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
115+
<OptimizeReferences>true</OptimizeReferences>
116+
<AdditionalDependencies>amd_ags_x64.lib;GPUOpen_ShadowFX_x64.lib;d3dcompiler.lib;dxguid.lib;winmm.lib;comctl32.lib;Usp10.lib;Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
117+
<AdditionalLibraryDirectories>..\..\ags_lib\lib;..\gpuopen_fx\ShadowFX\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
118+
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
119+
</Link>
120+
<Manifest>
121+
<AdditionalManifestFiles>../src/ResourceFiles/dpiaware.manifest %(AdditionalManifestFiles)</AdditionalManifestFiles>
122+
</Manifest>
123+
<PostBuildEvent>
124+
<Command>if not exist "..\bin\d3dcompiler_46.dll" if exist "$(ProgramFiles)\Windows Kits\8.0\Redist\D3D\x64\d3dcompiler_46.dll" xcopy "$(ProgramFiles)\Windows Kits\8.0\Redist\D3D\x64\d3dcompiler_46.dll" "..\bin" /H /R /Y &gt; nul
125+
if not exist "..\bin\d3dcompiler_47.dll" if exist "$(ProgramFiles)\Windows Kits\8.1\Redist\D3D\x64\d3dcompiler_47.dll" xcopy "$(ProgramFiles)\Windows Kits\8.1\Redist\D3D\x64\d3dcompiler_47.dll" "..\bin" /H /R /Y &gt; nul
126+
xcopy "..\..\ags_lib\lib\amd_ags_x64.dll" "..\bin" /H /R /Y &gt; nul
127+
xcopy "..\gpuopen_fx\ShadowFX\lib\GPUOpen_ShadowFX_x64.dll" "..\bin" /H /R /Y &gt; nul</Command>
128+
<Message>Copying dependencies...</Message>
129+
</PostBuildEvent>
130+
</ItemDefinitionGroup>
131+
<ItemGroup>
132+
<ClInclude Include="..\..\ags_lib\inc\amd_ags.h" />
133+
<ClInclude Include="..\gpuopen_fx\ShadowFX\inc\AMD_ShadowFX.h" />
134+
<ClInclude Include="..\src\ResourceFiles\resource.h" />
135+
</ItemGroup>
136+
<ItemGroup>
137+
<ClCompile Include="..\src\CrossfireAPI11.cpp" />
138+
</ItemGroup>
139+
<ItemGroup>
140+
<None Include="..\src\CrossfireAPI11_UI.inl" />
141+
<None Include="..\src\ResourceFiles\dpiaware.manifest" />
142+
<None Include="..\src\Shaders\CrossfireAPI11.hlsl" />
143+
</ItemGroup>
144+
<ItemGroup>
145+
<ResourceCompile Include="..\src\ResourceFiles\CrossfireAPI11.rc" />
146+
</ItemGroup>
147+
<ItemGroup>
148+
<ProjectReference Include="..\..\AMD_LIB\build\AMD_LIB_2012.vcxproj">
149+
<Project>{0D2AEA47-7909-69E3-8221-F4B9EE7FCF44}</Project>
150+
</ProjectReference>
151+
<ProjectReference Include="..\..\DXUT\Optional\DXUTOpt_2012.vcxproj">
152+
<Project>{61B333C2-C4F7-4CC1-A9BF-83F6D95588EB}</Project>
153+
</ProjectReference>
154+
<ProjectReference Include="..\..\DXUT\Core\DXUT_2012.vcxproj">
155+
<Project>{85344B7F-5AA0-4E12-A065-D1333D11F6CA}</Project>
156+
</ProjectReference>
157+
<ProjectReference Include="..\..\AMD_SDK\build\AMD_SDK_Minimal_2012.vcxproj">
158+
<Project>{EBB939DC-98E4-49DF-B1F1-D2E80A11F60A}</Project>
159+
</ProjectReference>
160+
</ItemGroup>
161+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
162+
<ImportGroup Label="ExtensionTargets">
163+
</ImportGroup>
164+
</Project>

0 commit comments

Comments
 (0)