Separate Fxc bindings and bump version 1.8.2

This commit is contained in:
Amer Koleci
2022-10-10 09:06:57 +02:00
parent 3c7e8e69b2
commit eade223582
21 changed files with 168 additions and 129 deletions

View File

@@ -1047,6 +1047,7 @@ public static class Program
string wicPath = Path.Combine(new DirectoryInfo(repoRoot).Parent.FullName, "Vortice.Win32.Graphics.Imaging");
string d2dPath = Path.Combine(new DirectoryInfo(repoRoot).Parent.FullName, "Vortice.Win32.Graphics.Direct2D");
string dxcPath = Path.Combine(new DirectoryInfo(repoRoot).Parent.FullName, "Vortice.Win32.Graphics.Direct3D.Dxc");
string fxcPath = Path.Combine(new DirectoryInfo(repoRoot).Parent.FullName, "Vortice.Win32.Graphics.Direct3D.Fxc");
// Generate docs
//DocGenerator.Generate(new[] { "DXGI" }, Path.Combine(repoRoot, "Generated", "Graphics", "Dxgi.xml"));
@@ -1109,12 +1110,16 @@ public static class Program
outputPath = dwritePath;
useSubFolders = false;
}
else if (jsonFile.EndsWith("Direct3D.Dxc.json"))
else if (jsonFile == "Graphics.Direct3D.Dxc.json")
{
outputPath = dxcPath;
useSubFolders = false;
}
else if (jsonFile == "Graphics.Direct3D.Fxc.json")
{
outputPath = fxcPath;
useSubFolders = false;
}
outputPath = Path.Combine(outputPath, "Generated");
@@ -1180,6 +1185,10 @@ public static class Program
{
docFile = $"../Vortice.Win32.Graphics.Direct3D11/Direct3D11";
}
else if (jsonFile == "Graphics.Direct3D.Fxc.json")
{
docFile = $"../Vortice.Win32/Generated/Graphics/Direct3D";
}
string apiName = ns;
string apiFolder;