Move MultipleShaderTypesImplemented to analyzer
このコミットが含まれているのは:
1 親
7a630204ef
コミット
86bc68e4dd
4ファイル変更
+24
-26
検索条件に一致するファイルはありません
@@ -1116,26 +1116,6 @@ public class DiagnosticsTests
|
||||
VerifyGeneratedDiagnostics<ComputeShaderDescriptorGenerator>(source, "CMPS0041", "CMPS0047");
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void MultipleShaderTypes()
|
||||
{
|
||||
const string source = """
|
||||
using ComputeSharp;
|
||||
|
||||
namespace MyFancyApp.Sample;
|
||||
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
public partial struct MyShader : IComputeShader, IComputeShader<float4>
|
||||
{
|
||||
public void Execute()
|
||||
{
|
||||
}
|
||||
}
|
||||
""";
|
||||
|
||||
VerifyGeneratedDiagnostics<ComputeShaderDescriptorGenerator>(source, "CMPS0042", "CMPS0047");
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
[DataRow(-1, 1, 1)]
|
||||
[DataRow(1, -1, 1)]
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする