Fix warnings for new analyzer in remaining unit tests
このコミットが含まれているのは:
1 親
ec42352125
コミット
8d463dd3c9
3ファイル変更
+52
-52
検索条件に一致するファイルはありません
@@ -701,9 +701,9 @@ public partial class CanvasEffectTests
|
||||
[D2DInputCount(0)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
internal partial struct ShaderWithNoInputs : ID2D1PixelShader
|
||||
internal readonly partial struct ShaderWithNoInputs : ID2D1PixelShader
|
||||
{
|
||||
public int Value;
|
||||
public readonly int Value;
|
||||
|
||||
public float4 Execute()
|
||||
{
|
||||
|
||||
@@ -456,13 +456,13 @@ public partial class PixelShaderEffectTests
|
||||
[D2DInputCount(0)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
internal partial struct ShaderWithSomeProperties : ID2D1PixelShader
|
||||
internal readonly partial struct ShaderWithSomeProperties : ID2D1PixelShader
|
||||
{
|
||||
public float A;
|
||||
public int B;
|
||||
public int2 C;
|
||||
public uint2x2 D;
|
||||
public float2 E;
|
||||
public readonly float A;
|
||||
public readonly int B;
|
||||
public readonly int2 C;
|
||||
public readonly uint2x2 D;
|
||||
public readonly float2 E;
|
||||
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -473,9 +473,9 @@ public partial class PixelShaderEffectTests
|
||||
[D2DInputCount(1)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
internal partial struct ShaderWithSomePropertiesAndInputs : ID2D1PixelShader
|
||||
internal readonly partial struct ShaderWithSomePropertiesAndInputs : ID2D1PixelShader
|
||||
{
|
||||
public int Number;
|
||||
public readonly int Number;
|
||||
|
||||
public float4 Execute()
|
||||
{
|
||||
|
||||
@@ -14,9 +14,9 @@ public partial class ShaderDataLoaderTests
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
public partial struct CapturedResourceShader : IComputeShader
|
||||
public readonly partial struct CapturedResourceShader : IComputeShader
|
||||
{
|
||||
public ReadWriteBuffer<float> _;
|
||||
public readonly ReadWriteBuffer<float> _;
|
||||
|
||||
public void Execute()
|
||||
{
|
||||
@@ -50,13 +50,13 @@ public partial class ShaderDataLoaderTests
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
public partial struct MultipleResourcesAndPrimitivesShader : IComputeShader
|
||||
public readonly partial struct MultipleResourcesAndPrimitivesShader : IComputeShader
|
||||
{
|
||||
public ReadWriteBuffer<float> _0;
|
||||
public ReadWriteBuffer<float> _1;
|
||||
public int a;
|
||||
public int b;
|
||||
public int c;
|
||||
public readonly ReadWriteBuffer<float> _0;
|
||||
public readonly ReadWriteBuffer<float> _1;
|
||||
public readonly int a;
|
||||
public readonly int b;
|
||||
public readonly int c;
|
||||
|
||||
public void Execute()
|
||||
{
|
||||
@@ -96,15 +96,15 @@ public partial class ShaderDataLoaderTests
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
public partial struct ScalarAndVectorTypesShader : IComputeShader
|
||||
public readonly partial struct ScalarAndVectorTypesShader : IComputeShader
|
||||
{
|
||||
public ReadWriteBuffer<float> _;
|
||||
public float3 f3;
|
||||
public int a;
|
||||
public int b;
|
||||
public double2 d2;
|
||||
public int c;
|
||||
public int d;
|
||||
public readonly ReadWriteBuffer<float> _;
|
||||
public readonly float3 f3;
|
||||
public readonly int a;
|
||||
public readonly int b;
|
||||
public readonly double2 d2;
|
||||
public readonly int c;
|
||||
public readonly int d;
|
||||
|
||||
public void Execute()
|
||||
{
|
||||
@@ -147,17 +147,17 @@ public partial class ShaderDataLoaderTests
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
public partial struct ScalarVectorAndMatrixTypesShader : IComputeShader
|
||||
public readonly partial struct ScalarVectorAndMatrixTypesShader : IComputeShader
|
||||
{
|
||||
public ReadWriteBuffer<float> _;
|
||||
public float2x3 f2x3;
|
||||
public int a;
|
||||
public Int1x3 i1x3;
|
||||
public double2 d2;
|
||||
public int c;
|
||||
public Int1x2 i1x2;
|
||||
public int2x2 i2x2;
|
||||
public int d;
|
||||
public readonly ReadWriteBuffer<float> _;
|
||||
public readonly float2x3 f2x3;
|
||||
public readonly int a;
|
||||
public readonly Int1x3 i1x3;
|
||||
public readonly double2 d2;
|
||||
public readonly int c;
|
||||
public readonly Int1x2 i1x2;
|
||||
public readonly int2x2 i2x2;
|
||||
public readonly int d;
|
||||
|
||||
public void Execute()
|
||||
{
|
||||
@@ -233,10 +233,10 @@ public partial class ShaderDataLoaderTests
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
public partial struct FlatCustomTypeShader : IComputeShader
|
||||
public readonly partial struct FlatCustomTypeShader : IComputeShader
|
||||
{
|
||||
public ReadWriteBuffer<float> _0;
|
||||
public SimpleTypes a;
|
||||
public readonly ReadWriteBuffer<float> _0;
|
||||
public readonly SimpleTypes a;
|
||||
|
||||
public void Execute()
|
||||
{
|
||||
@@ -325,10 +325,10 @@ public partial class ShaderDataLoaderTests
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
public partial struct NestedCustomTypesShader : IComputeShader
|
||||
public readonly partial struct NestedCustomTypesShader : IComputeShader
|
||||
{
|
||||
public ReadWriteBuffer<float> _0;
|
||||
public CustomType1 a;
|
||||
public readonly ReadWriteBuffer<float> _0;
|
||||
public readonly CustomType1 a;
|
||||
|
||||
public void Execute()
|
||||
{
|
||||
@@ -417,17 +417,17 @@ public partial class ShaderDataLoaderTests
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
public partial struct AmbiguousNamesShader : IComputeShader
|
||||
public readonly partial struct AmbiguousNamesShader : IComputeShader
|
||||
{
|
||||
public ReadWriteBuffer<float> a;
|
||||
public ReadWriteBuffer<float> b;
|
||||
public ReadWriteBuffer<float> c;
|
||||
public ReadWriteBuffer<float> x;
|
||||
public ReadWriteBuffer<float> y;
|
||||
public ReadWriteBuffer<float> z;
|
||||
public int dataLoader;
|
||||
public int device;
|
||||
public int dummy;
|
||||
public readonly ReadWriteBuffer<float> a;
|
||||
public readonly ReadWriteBuffer<float> b;
|
||||
public readonly ReadWriteBuffer<float> c;
|
||||
public readonly ReadWriteBuffer<float> x;
|
||||
public readonly ReadWriteBuffer<float> y;
|
||||
public readonly ReadWriteBuffer<float> z;
|
||||
public readonly int dataLoader;
|
||||
public readonly int device;
|
||||
public readonly int dummy;
|
||||
|
||||
public void Execute()
|
||||
{
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする