Skip to content

Commit c5154f0

Browse files
committed
dxil signing + nv aftermath + pass2pass transitions
1 parent c665c65 commit c5154f0

Some content is hidden

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

54 files changed

+4852
-149
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ workdir/cache/
77
workdir/Assets/
88
workdir/pso
99

10+
#aftermath dumps
11+
*.nv-gpudmp*
12+
1013
#VS-specific
1114
*.user
1215
obj/

main.sharpmake.cs

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,24 @@ public ZipLib()
141141
}
142142
}
143143

144+
[Sharpmake.Generate]
145+
public class Aftermath : Library
146+
{
147+
public Aftermath()
148+
{
149+
SourceRootPath = @"[project.SharpmakeCsPath]\sources\3rdparty\Aftermath";
150+
AssemblyName = "Aftermath";
151+
}
152+
153+
154+
public override void ConfigureAll(Configuration conf, CustomTarget target)
155+
{
156+
base.ConfigureAll(conf, target);
157+
conf.LibraryFiles.Add(@"[project.SourceRootPath]\lib\x64\GFSDK_Aftermath_Lib.x64.lib");
158+
conf.TargetCopyFiles.Add(@"[project.SourceRootPath]\lib\x64\GFSDK_Aftermath_Lib.x64.dll");
159+
conf.IncludePaths.Add(@"[project.SourceRootPath]/include");
160+
}
161+
}
144162

145163
[Sharpmake.Generate]
146164
public class Core : Library
@@ -208,8 +226,12 @@ public override void ConfigureAll(Configuration conf, CustomTarget target)
208226
conf.LibraryFiles.Add("dxcompiler.lib");
209227

210228
conf.TargetCopyFiles.Add(@"[project.SourceRootPath]\dxcompiler.dll");
211-
229+
conf.TargetCopyFiles.Add(@"[project.SourceRootPath]\dxil.dll");
230+
231+
212232
conf.AddPrivateDependency<FileSystem>(target);
233+
conf.AddPublicDependency<Aftermath>(target);
234+
213235
}
214236
}
215237

sources/3rdparty/Aftermath/LICENSE

Lines changed: 601 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)