Rename ComputeSharp.Dynamic to ComputeSharp.Dxc
このコミットが含まれているのは:
1 親
c7bbec8df0
コミット
862ea5a51b
24ファイル変更
+37
-37
検索条件に一致するファイルはありません
@@ -6,7 +6,7 @@
|
||||
<ItemGroup>
|
||||
<InternalsVisibleTo Include="ComputeSharp, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.D3D12MemoryAllocator, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.Dynamic, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.Dxc, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.Pix, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.WinUI, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.D2D1, PublicKey=$(AssemblySignPublicKey)" />
|
||||
|
||||
差分なしでファイル名を変更。
差分なしでファイル名を変更。
差分なしでファイル名を変更。
差分なしでファイル名を変更。
差分なしでファイル名を変更。
差分なしでファイル名を変更。
差分なしでファイル名を変更。
差分なしでファイル名を変更。
@@ -32,7 +32,7 @@ partial class ComputeShaderDescriptorGenerator
|
||||
out int threadsZ,
|
||||
out bool isCompilationEnabled)
|
||||
{
|
||||
// Try to get the attribute that controls shader precompilation (has to be present when ComputeSharp.Dynamic is not referenced)
|
||||
// Try to get the attribute that controls shader precompilation (this is always required)
|
||||
if (!structDeclarationSymbol.TryGetAttributeWithFullyQualifiedMetadataName(typeof(EmbeddedBytecodeAttribute).FullName, out AttributeData? attribute))
|
||||
{
|
||||
// Emit the diagnostics if dynamic shaders are not supported
|
||||
|
||||
@@ -80,10 +80,10 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="..\ComputeSharp.Dynamic\Libraries\x64\dxcompiler.dll" Link="ComputeSharp\Libraries\x64\dxcompiler.dll" />
|
||||
<EmbeddedResource Include="..\ComputeSharp.Dynamic\Libraries\x64\dxil.dll" Link="ComputeSharp\Libraries\x64\dxil.dll" />
|
||||
<EmbeddedResource Include="..\ComputeSharp.Dynamic\Libraries\arm64\dxcompiler.dll" Link="ComputeSharp\Libraries\arm64\dxcompiler.dll" />
|
||||
<EmbeddedResource Include="..\ComputeSharp.Dynamic\Libraries\arm64\dxil.dll" Link="ComputeSharp\Libraries\arm64\dxil.dll" />
|
||||
<EmbeddedResource Include="..\ComputeSharp.Dxc\Libraries\x64\dxcompiler.dll" Link="ComputeSharp\Libraries\x64\dxcompiler.dll" />
|
||||
<EmbeddedResource Include="..\ComputeSharp.Dxc\Libraries\x64\dxil.dll" Link="ComputeSharp\Libraries\x64\dxil.dll" />
|
||||
<EmbeddedResource Include="..\ComputeSharp.Dxc\Libraries\arm64\dxcompiler.dll" Link="ComputeSharp\Libraries\arm64\dxcompiler.dll" />
|
||||
<EmbeddedResource Include="..\ComputeSharp.Dxc\Libraries\arm64\dxil.dll" Link="ComputeSharp\Libraries\arm64\dxil.dll" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Shared project with common helpers -->
|
||||
|
||||
@@ -640,7 +640,7 @@ partial class DiagnosticDescriptors
|
||||
helpLinkUri: "https://github.com/Sergio0694/ComputeSharp");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a <see cref="DiagnosticDescriptor"/> for a shader without the embedded bytecode attribute, when dynamic shaders are not supported.
|
||||
/// Gets a <see cref="DiagnosticDescriptor"/> for a shader without the embedded bytecode attribute,.
|
||||
/// <para>
|
||||
/// Format: <c>"The shader of type {0} needs to be annotated as having embedded bytecode (using the [EmbeddedBytecode] attribute), as dynamic shader compilation is not supported"</c>.
|
||||
/// </para>
|
||||
@@ -652,7 +652,7 @@ partial class DiagnosticDescriptors
|
||||
category: "ComputeSharp.Shaders",
|
||||
defaultSeverity: DiagnosticSeverity.Error,
|
||||
isEnabledByDefault: true,
|
||||
description: "When dynamic shader compilation is not supported (ie. when ComputeSharp.Dynamic is not referenced), all shaders need to be annotated as having embedded bytecode (using the [EmbeddedBytecode] attribute).",
|
||||
description: "All shaders need to be annotated as having embedded bytecode (using the [EmbeddedBytecode] attribute).",
|
||||
helpLinkUri: "https://github.com/Sergio0694/ComputeSharp");
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<InternalsVisibleTo Include="ComputeSharp.D3D12MemoryAllocator, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.Dynamic, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.Dxc, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.Pix, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.WinUI, PublicKey=$(AssemblySignPublicKey)" />
|
||||
<InternalsVisibleTo Include="ComputeSharp.Tests.Internals, PublicKey=$(AssemblySignPublicKey)" />
|
||||
|
||||
@@ -30,12 +30,12 @@ namespace ComputeSharp;
|
||||
/// <para>
|
||||
/// </para>
|
||||
/// The runtime compilation will automatically be skipped if the shader is invoked using matching thread count values,
|
||||
/// otherwise the usual runtime compilation will be used as fallback if the <c>ComputeSharp.Dynamic</c> library is
|
||||
/// otherwise the usual runtime compilation will be used as fallback if the <c>ComputeSharp.Dxc</c> library is
|
||||
/// referenced. If not, <see cref="NotSupportedException"/> will be thrown when trying to dispatch the shader.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Using this attribute is mandatory when not referencing <c>ComputeSharp.Dynamic</c>.
|
||||
/// Using this attribute is mandatory when not referencing <c>ComputeSharp.Dxc</c>.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// This attribute can only be used when the shader type being annotated does not require dynamic
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.D3D12MemoryAllocator'">
|
||||
<![CDATA[An extension library for ComputeSharp to enable using D3D12MA as the memory allocator for graphics resources.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.Dynamic'">
|
||||
<![CDATA[An extension library for ComputeSharp to enable dynamic compilation of shaders at runtime.]]>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.Dxc'">
|
||||
<![CDATA[An extension library for ComputeSharp bundling the DXC compiler and enabling shader reflection.]]>
|
||||
</Description>
|
||||
<Description Condition="'$(MSBuildProjectName)' == 'ComputeSharp.Pix'">
|
||||
<![CDATA[An extension library for ComputeSharp to enable PIX support to produce debugging information.]]>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする