Stripped [HlslIntrinsicName] from ComputeSharp builds
このコミットが含まれているのは:
1 親
72cce16597
コミット
de187f842d
2ファイル変更
+7
検索条件に一致するファイルはありません
@@ -7,6 +7,10 @@
|
||||
<Description>ComputeSharp.SourceGenerators</Description>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<DefineConstants>SOURCE_GENERATOR</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--The source generator cannot contain package references or project references, so instead we're just
|
||||
manually linking the source files from ComputeSharp\Core in here. We only need them to extract metadata
|
||||
and to match members based on full name, so the types being in the generator assembly are not an issue.-->
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace ComputeSharp.Core.Intrinsics.Attributes;
|
||||
|
||||
/// <summary>
|
||||
/// An attribute indicating the native member name of a given HLSL intrinsic.
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
|
||||
[Conditional("SOURCE_GENERATOR")]
|
||||
internal sealed class HlslIntrinsicNameAttribute : Attribute
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする