Rename ComputeSharp.Dynamic to ComputeSharp.Dxc
このコミットが含まれているのは:
1 親
c7bbec8df0
コミット
862ea5a51b
24ファイル変更
+37
-37
検索条件に一致するファイルはありません
@@ -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>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする