This commit is contained in:
Amer Koleci
2024-08-06 16:21:01 +02:00
parent 2c61d6ce73
commit 6025c20a51
13 changed files with 14 additions and 10 deletions

View File

@@ -30,4 +30,6 @@ jobs:
- name: Publish to NuGet
if: github.event_name == 'push'
run: dotnet nuget push artifacts/**/*.nupkg -k ${{secrets.NUGET_TOKEN}} --skip-duplicate --source https://api.nuget.org/v3/index.json
run: |
dotnet nuget push artifacts/package/release/*.nupkg -k ${{secrets.NUGET_TOKEN}} --skip-duplicate --source https://api.nuget.org/v3/index.json
dotnet nuget push artifacts/package/release/*.snupkg -k ${{secrets.NUGET_TOKEN}} --skip-duplicate --source https://api.nuget.org/v3/index.json

View File

@@ -20,6 +20,7 @@
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<UseArtifactsOutput>true</UseArtifactsOutput>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<DebugType>embedded</DebugType>
<Features>strict</Features>
@@ -40,16 +41,15 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>
<PackageOutputPath>$(MSBuildThisFileDirectory)artifacts/</PackageOutputPath>
</PropertyGroup>
<!-- https://github.com/dotnet/sourcelink -->
<!-- SourceLink -->
<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<DebugType>portable</DebugType>
<EmbedAllSources>true</EmbedAllSources>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>false</IncludeSymbols>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
</Project>

View File

@@ -829,6 +829,7 @@ public static class Program
"VideoProcessorGetStreamColorSpace",
"VideoProcessorGetStreamFrameFormat",
"VideoProcessorSetStreamColorSpace",
"TriangleFan",
};
private static readonly HashSet<string> s_preserveCaps = new(StringComparer.OrdinalIgnoreCase)

View File

@@ -3,18 +3,19 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net4.6.1;net8.0</TargetFrameworks>
<Description>Dxc native libraries</Description>
<PackageVersion>1.0.1</PackageVersion>
<PackageVersion>1.0.2</PackageVersion>
<IncludeBuildOutput>false</IncludeBuildOutput>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageLicenseExpression></PackageLicenseExpression>
<PackageLicenseFile>LICENSE-MS.txt</PackageLicenseFile>
<RepositoryUrl>https://github.com/microsoft/DirectXShaderCompiler</RepositoryUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<IncludeSymbols>false</IncludeSymbols>
</PropertyGroup>
<ItemGroup>
<None Include="$(RepoRootDirectory)/README.md" Pack="true" PackagePath="\" />
<Content Include="LICENCE-MIT.txt" PackagePath="" />
<Content Include="LICENSE-MIT.txt" PackagePath="" />
<Content Include="LICENSE-LLVM.txt" PackagePath="" />
<Content Include="LICENSE-MS.txt" PackagePath="" />
</ItemGroup>

View File

@@ -281,7 +281,7 @@ public static partial class Apis
public const PrimitiveTopology D3D_PRIMITIVE_TOPOLOGY_LINESTRIP = PrimitiveTopology.LineStrip;
public const PrimitiveTopology D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST = PrimitiveTopology.TriangleList;
public const PrimitiveTopology D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP = PrimitiveTopology.TriangleStrip;
public const PrimitiveTopology D3D_PRIMITIVE_TOPOLOGY_TRIANGLEFAN = PrimitiveTopology.Trianglefan;
public const PrimitiveTopology D3D_PRIMITIVE_TOPOLOGY_TRIANGLEFAN = PrimitiveTopology.TriangleFan;
public const PrimitiveTopology D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = PrimitiveTopology.LineListAdj;
public const PrimitiveTopology D3D_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ = PrimitiveTopology.LineStripAdj;
public const PrimitiveTopology D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ = PrimitiveTopology.TriangleListAdj;

View File

@@ -99,7 +99,7 @@ public enum PrimitiveTopology
TriangleStrip = 5,
/// <include file='../Direct3D.xml' path='doc/member[@name="D3D_PRIMITIVE_TOPOLOGY::D3D_PRIMITIVE_TOPOLOGY_TRIANGLEFAN"]/*' />
/// <unmanaged>D3D_PRIMITIVE_TOPOLOGY_TRIANGLEFAN</unmanaged>
Trianglefan = 6,
TriangleFan = 6,
/// <include file='../Direct3D.xml' path='doc/member[@name="D3D_PRIMITIVE_TOPOLOGY::D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ"]/*' />
/// <unmanaged>D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ</unmanaged>
LineListAdj = 10,