Update tests and samples to use internal accessibility
このコミットが含まれているのは:
1 親
e85c8f870a
コミット
cea408a4d4
11ファイル変更
+54
-54
検索条件に一致するファイルはありません
@@ -50,7 +50,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DInputSimple(1)]
|
||||
[D2DInputSimple(2)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private readonly partial struct ShaderWithNoCompileAttributes : ID2D1PixelShader
|
||||
internal readonly partial struct ShaderWithNoCompileAttributes : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -96,7 +96,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DInputSimple(2)]
|
||||
[D2DShaderProfile(D2D1ShaderProfile.PixelShader50)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private readonly partial struct ShaderWithOverriddenProfile : ID2D1PixelShader
|
||||
internal readonly partial struct ShaderWithOverriddenProfile : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -142,7 +142,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DInputSimple(2)]
|
||||
[D2DCompileOptions(D2D1CompileOptions.Debug | D2D1CompileOptions.AvoidFlowControl | D2D1CompileOptions.PartialPrecision)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private readonly partial struct ShaderWithOverriddenOptions : ID2D1PixelShader
|
||||
internal readonly partial struct ShaderWithOverriddenOptions : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -179,7 +179,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DShaderProfile(D2D1ShaderProfile.PixelShader50)]
|
||||
[D2DCompileOptions(D2D1CompileOptions.Debug | D2D1CompileOptions.AvoidFlowControl | D2D1CompileOptions.PartialPrecision)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private readonly partial struct ShaderWithOverriddenProfileAndOptions : ID2D1PixelShader
|
||||
internal readonly partial struct ShaderWithOverriddenProfileAndOptions : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
|
||||
@@ -53,7 +53,7 @@ public partial class D2D1EffectRegistrationDataTests
|
||||
[D2DRequiresScenePosition]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
private readonly partial struct TestRegistrationBlobShader : ID2D1PixelShader
|
||||
internal readonly partial struct TestRegistrationBlobShader : ID2D1PixelShader
|
||||
{
|
||||
private readonly float a;
|
||||
|
||||
@@ -99,7 +99,7 @@ public partial class D2D1EffectRegistrationDataTests
|
||||
[D2DEffectAuthor("Bob Ross")]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
private readonly partial struct TestRegistrationBlobWithCustomMetadataShader : ID2D1PixelShader
|
||||
internal readonly partial struct TestRegistrationBlobWithCustomMetadataShader : ID2D1PixelShader
|
||||
{
|
||||
private readonly float a;
|
||||
|
||||
@@ -196,7 +196,7 @@ public partial class D2D1EffectRegistrationDataTests
|
||||
[D2DInputCount(0)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
private readonly partial struct TestRegistrationBlobWithResourceTextures : ID2D1PixelShader
|
||||
internal readonly partial struct TestRegistrationBlobWithResourceTextures : ID2D1PixelShader
|
||||
{
|
||||
[D2DResourceTextureIndex(0)]
|
||||
public readonly D2D1ResourceTexture1D<float> t0;
|
||||
|
||||
@@ -122,7 +122,7 @@ public partial class D2D1PixelShaderEffectTests
|
||||
[D2DRequiresScenePosition]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
private partial struct NullConstantBufferShader : ID2D1PixelShader
|
||||
internal partial struct NullConstantBufferShader : ID2D1PixelShader
|
||||
{
|
||||
private float dummy;
|
||||
|
||||
@@ -154,7 +154,7 @@ public partial class D2D1PixelShaderEffectTests
|
||||
[D2DRequiresScenePosition]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
private partial struct ConstantBufferSizeTestShader : ID2D1PixelShader
|
||||
internal partial struct ConstantBufferSizeTestShader : ID2D1PixelShader
|
||||
{
|
||||
private float a;
|
||||
private float b;
|
||||
@@ -188,7 +188,7 @@ public partial class D2D1PixelShaderEffectTests
|
||||
|
||||
[D2DInputCount(0)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private partial struct ShaderWithDefaultEffectId : ID2D1PixelShader
|
||||
internal partial struct ShaderWithDefaultEffectId : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -198,7 +198,7 @@ public partial class D2D1PixelShaderEffectTests
|
||||
|
||||
[D2DInputCount(0)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private partial struct ShaderWithDefaultEffectId2 : ID2D1PixelShader
|
||||
internal partial struct ShaderWithDefaultEffectId2 : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -222,7 +222,7 @@ public partial class D2D1PixelShaderEffectTests
|
||||
[D2DInputCount(0)]
|
||||
[D2DEffectId("8E1F7F49-EF0D-4242-8912-08ADA36AB4EC")]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private partial struct ShaderWithExplicitEffectId : ID2D1PixelShader
|
||||
internal partial struct ShaderWithExplicitEffectId : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -241,7 +241,7 @@ public partial class D2D1PixelShaderEffectTests
|
||||
|
||||
[D2DInputCount(0)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private partial struct ShaderWithDefaultEffectDisplayName : ID2D1PixelShader
|
||||
internal partial struct ShaderWithDefaultEffectDisplayName : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -261,7 +261,7 @@ public partial class D2D1PixelShaderEffectTests
|
||||
[D2DInputCount(0)]
|
||||
[D2DEffectDisplayName("Fancy blur")]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private partial struct ShaderWithExplicitEffectDisplayName1 : ID2D1PixelShader
|
||||
internal partial struct ShaderWithExplicitEffectDisplayName1 : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -284,7 +284,7 @@ public partial class D2D1PixelShaderEffectTests
|
||||
[D2DEffectCategory("Test effects!")]
|
||||
[D2DEffectAuthor("Bob \r\nRoss")]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private partial struct ShaderWithExplicitEffectDisplayName2 : ID2D1PixelShader
|
||||
internal partial struct ShaderWithExplicitEffectDisplayName2 : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
|
||||
@@ -67,7 +67,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DInputComplex(5)]
|
||||
[D2DInputSimple(6)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
partial struct ShaderWithMultipleInputs : ID2D1PixelShader
|
||||
internal partial struct ShaderWithMultipleInputs : ID2D1PixelShader
|
||||
{
|
||||
public Float4 Execute()
|
||||
{
|
||||
@@ -95,7 +95,7 @@ public partial class D2D1PixelShaderTests
|
||||
|
||||
[D2DInputCount(0)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
partial struct EmptyShader : ID2D1PixelShader
|
||||
internal partial struct EmptyShader : ID2D1PixelShader
|
||||
{
|
||||
public Float4 Execute()
|
||||
{
|
||||
@@ -106,7 +106,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DInputCount(0)]
|
||||
[D2DOutputBuffer(D2D1BufferPrecision.UInt16Normalized)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
partial struct OnlyBufferPrecisionShader : ID2D1PixelShader
|
||||
internal partial struct OnlyBufferPrecisionShader : ID2D1PixelShader
|
||||
{
|
||||
public Float4 Execute()
|
||||
{
|
||||
@@ -117,7 +117,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DInputCount(0)]
|
||||
[D2DOutputBuffer(D2D1ChannelDepth.Four)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
partial struct OnlyChannelDepthShader : ID2D1PixelShader
|
||||
internal partial struct OnlyChannelDepthShader : ID2D1PixelShader
|
||||
{
|
||||
public Float4 Execute()
|
||||
{
|
||||
@@ -128,7 +128,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DInputCount(0)]
|
||||
[D2DOutputBuffer(D2D1BufferPrecision.UInt8NormalizedSrgb, D2D1ChannelDepth.One)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
partial struct CustomBufferOutputShader : ID2D1PixelShader
|
||||
internal partial struct CustomBufferOutputShader : ID2D1PixelShader
|
||||
{
|
||||
public Float4 Execute()
|
||||
{
|
||||
@@ -195,7 +195,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DInputDescription(5, D2D1Filter.MinMagPointMipLinear)]
|
||||
[D2DInputDescription(6, D2D1Filter.MinPointMagMipLinear, LevelOfDetailCount = 3)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
partial struct ShaderWithInputDescriptions : ID2D1PixelShader
|
||||
internal partial struct ShaderWithInputDescriptions : ID2D1PixelShader
|
||||
{
|
||||
public Float4 Execute()
|
||||
{
|
||||
@@ -257,7 +257,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DShaderProfile(D2D1ShaderProfile.PixelShader50)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
partial struct ShaderWithoutResourceTextures : ID2D1PixelShader
|
||||
internal partial struct ShaderWithoutResourceTextures : ID2D1PixelShader
|
||||
{
|
||||
public Float4 Execute()
|
||||
{
|
||||
@@ -269,7 +269,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DShaderProfile(D2D1ShaderProfile.PixelShader50)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
partial struct ShaderWithJustOneResourceTextures : ID2D1PixelShader
|
||||
internal partial struct ShaderWithJustOneResourceTextures : ID2D1PixelShader
|
||||
{
|
||||
[D2DResourceTextureIndex(0)]
|
||||
D2D1ResourceTexture1D<float> myTexture;
|
||||
@@ -288,7 +288,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DShaderProfile(D2D1ShaderProfile.PixelShader50)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
partial struct ShaderWithResourceTextures : ID2D1PixelShader
|
||||
internal partial struct ShaderWithResourceTextures : ID2D1PixelShader
|
||||
{
|
||||
float number;
|
||||
|
||||
@@ -332,7 +332,7 @@ public partial class D2D1PixelShaderTests
|
||||
|
||||
[D2DInputCount(0)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private readonly partial struct ShaderWithoutEmbeddedBytecode : ID2D1PixelShader
|
||||
internal readonly partial struct ShaderWithoutEmbeddedBytecode : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -404,7 +404,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DInputSimple(2)]
|
||||
[D2DShaderProfile(D2D1ShaderProfile.PixelShader40Level91)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private readonly partial struct ShaderWithEmbeddedBytecode : ID2D1PixelShader
|
||||
internal readonly partial struct ShaderWithEmbeddedBytecode : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -454,7 +454,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DShaderProfile(D2D1ShaderProfile.PixelShader40Level91)]
|
||||
[D2DCompileOptions(D2D1CompileOptions.IeeeStrictness | D2D1CompileOptions.OptimizationLevel2)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private readonly partial struct ShaderWithEmbeddedBytecodeAndCompileOptions : ID2D1PixelShader
|
||||
internal readonly partial struct ShaderWithEmbeddedBytecodeAndCompileOptions : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -486,7 +486,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DInputSimple(0)]
|
||||
[D2DShaderProfile(D2D1ShaderProfile.PixelShader40Level91)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private readonly partial struct SimpleShaderWithExplicitShaderProfileAndNoCompileOptions : ID2D1PixelShader
|
||||
internal readonly partial struct SimpleShaderWithExplicitShaderProfileAndNoCompileOptions : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -498,7 +498,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DInputComplex(0)]
|
||||
[D2DShaderProfile(D2D1ShaderProfile.PixelShader40Level91)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private readonly partial struct ComplexShaderWithExplicitShaderProfileAndNoCompileOptions : ID2D1PixelShader
|
||||
internal readonly partial struct ComplexShaderWithExplicitShaderProfileAndNoCompileOptions : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -524,7 +524,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DInputSimple(0)]
|
||||
[D2DCompileOptions(D2D1CompileOptions.OptimizationLevel2 | D2D1CompileOptions.IeeeStrictness)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private readonly partial struct ShaderWithExplicitCompileOptionsAndNoShaderProfile : ID2D1PixelShader
|
||||
internal readonly partial struct ShaderWithExplicitCompileOptionsAndNoShaderProfile : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -573,7 +573,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DInputDescription(0, D2D1Filter.MinMagMipPoint)]
|
||||
[D2DPixelOptions(D2D1PixelOptions.TrivialSampling)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private readonly partial struct ShaderWithNoCapturedValues : ID2D1PixelShader
|
||||
internal readonly partial struct ShaderWithNoCapturedValues : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -822,7 +822,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DInputCount(0)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
private readonly partial struct ShaderWithScalarVectorAndMatrixTypes : ID2D1PixelShader
|
||||
internal readonly partial struct ShaderWithScalarVectorAndMatrixTypes : ID2D1PixelShader
|
||||
{
|
||||
public readonly int x;
|
||||
public readonly int y;
|
||||
@@ -915,7 +915,7 @@ public partial class D2D1PixelShaderTests
|
||||
[D2DInputCount(0)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
private readonly partial struct ShaderWithScalarVectorAndMatrixTypesInNestedStructs : ID2D1PixelShader
|
||||
internal readonly partial struct ShaderWithScalarVectorAndMatrixTypesInNestedStructs : ID2D1PixelShader
|
||||
{
|
||||
public readonly int x;
|
||||
public readonly int y;
|
||||
|
||||
@@ -64,7 +64,7 @@ public partial class D2D1ReflectionServicesTests
|
||||
[D2DRequiresScenePosition]
|
||||
[D2DShaderProfile(D2D1ShaderProfile.PixelShader41)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private readonly partial struct ReflectedShader : ID2D1PixelShader
|
||||
internal readonly partial struct ReflectedShader : ID2D1PixelShader
|
||||
{
|
||||
private readonly float2 offset;
|
||||
|
||||
@@ -127,7 +127,7 @@ public partial class D2D1ReflectionServicesTests
|
||||
[D2DInputCount(1)]
|
||||
[D2DShaderProfile(D2D1ShaderProfile.PixelShader50)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private readonly partial struct ReflectedShaderWithDoubleOperations : ID2D1PixelShader
|
||||
internal readonly partial struct ReflectedShaderWithDoubleOperations : ID2D1PixelShader
|
||||
{
|
||||
private readonly double amount;
|
||||
|
||||
|
||||
@@ -171,7 +171,7 @@ public partial class D2D1ResourceTextureManagerTests
|
||||
[D2DInputCount(0)]
|
||||
[D2DRequiresScenePosition]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private partial struct DummyShaderWithResourceTexture : ID2D1PixelShader
|
||||
internal partial struct DummyShaderWithResourceTexture : ID2D1PixelShader
|
||||
{
|
||||
[D2DResourceTextureIndex(0)]
|
||||
private D2D1ResourceTexture2D<float4> source;
|
||||
@@ -460,7 +460,7 @@ public partial class D2D1ResourceTextureManagerTests
|
||||
[D2DInputCount(0)]
|
||||
[D2DRequiresScenePosition]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private partial struct IndexFrom2DResourceTextureShader : ID2D1PixelShader
|
||||
internal partial struct IndexFrom2DResourceTextureShader : ID2D1PixelShader
|
||||
{
|
||||
[D2DResourceTextureIndex(0)]
|
||||
private D2D1ResourceTexture2D<float4> source;
|
||||
@@ -536,7 +536,7 @@ public partial class D2D1ResourceTextureManagerTests
|
||||
[D2DRequiresScenePosition]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
private partial struct IndexFrom3DResourceTextureShader : ID2D1PixelShader
|
||||
internal partial struct IndexFrom3DResourceTextureShader : ID2D1PixelShader
|
||||
{
|
||||
private int height;
|
||||
|
||||
@@ -624,7 +624,7 @@ public partial class D2D1ResourceTextureManagerTests
|
||||
[D2DRequiresScenePosition]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
private partial struct CopyFromResourceTexture1DShader : ID2D1PixelShader
|
||||
internal partial struct CopyFromResourceTexture1DShader : ID2D1PixelShader
|
||||
{
|
||||
private int width;
|
||||
|
||||
@@ -794,7 +794,7 @@ public partial class D2D1ResourceTextureManagerTests
|
||||
[D2DRequiresScenePosition]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
private partial struct CopyFromResourceTexture2DShader : ID2D1PixelShader
|
||||
internal partial struct CopyFromResourceTexture2DShader : ID2D1PixelShader
|
||||
{
|
||||
private int width;
|
||||
private int height;
|
||||
@@ -901,7 +901,7 @@ public partial class D2D1ResourceTextureManagerTests
|
||||
[D2DRequiresScenePosition]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
private partial struct CopyFromResourceTexture3DShader : ID2D1PixelShader
|
||||
internal partial struct CopyFromResourceTexture3DShader : ID2D1PixelShader
|
||||
{
|
||||
private int width;
|
||||
private int height;
|
||||
@@ -946,7 +946,7 @@ public partial class D2D1ResourceTextureManagerTests
|
||||
[D2DInputCount(0)]
|
||||
[D2DRequiresScenePosition]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private partial struct NullResourceTextureShader : ID2D1PixelShader
|
||||
internal partial struct NullResourceTextureShader : ID2D1PixelShader
|
||||
{
|
||||
[D2DResourceTextureIndex(0)]
|
||||
private D2D1ResourceTexture2D<float4> source;
|
||||
|
||||
@@ -195,7 +195,7 @@ public partial class D2D1TransformMapperTests
|
||||
|
||||
[D2DInputCount(0)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private partial struct DummyShader : ID2D1PixelShader
|
||||
internal partial struct DummyShader : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -286,7 +286,7 @@ public partial class D2D1TransformMapperTests
|
||||
[D2DRequiresScenePosition]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
private partial struct ShaderWithDispatchArea : ID2D1PixelShader
|
||||
internal partial struct ShaderWithDispatchArea : ID2D1PixelShader
|
||||
{
|
||||
public int Width;
|
||||
public int Height;
|
||||
|
||||
@@ -482,7 +482,7 @@ public sealed partial class BokehBlurEffect
|
||||
/// <summary>
|
||||
/// The vertical convolution shader and transform.
|
||||
/// </summary>
|
||||
private sealed partial class VerticalConvolution
|
||||
internal sealed partial class VerticalConvolution
|
||||
{
|
||||
/// <summary>
|
||||
/// The <see cref="D2D1TransformMapper{T}"/> for the shader.
|
||||
@@ -530,7 +530,7 @@ public sealed partial class BokehBlurEffect
|
||||
/// <summary>
|
||||
/// The horizontal convolutin and partial accumulation effect and transform.
|
||||
/// </summary>
|
||||
private sealed partial class HorizontalConvolutionAndAccumulatePartials
|
||||
internal sealed partial class HorizontalConvolutionAndAccumulatePartials
|
||||
{
|
||||
/// <summary>
|
||||
/// The <see cref="D2D1TransformMapper{T}"/> for the shader.
|
||||
|
||||
@@ -693,7 +693,7 @@ public partial class CanvasEffectTests
|
||||
[D2DInputCount(0)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
private partial struct ShaderWithNoInputs : ID2D1PixelShader
|
||||
internal partial struct ShaderWithNoInputs : ID2D1PixelShader
|
||||
{
|
||||
public int Value;
|
||||
|
||||
|
||||
@@ -456,7 +456,7 @@ public partial class PixelShaderEffectTests
|
||||
[D2DInputCount(0)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
private partial struct ShaderWithSomeProperties : ID2D1PixelShader
|
||||
internal partial struct ShaderWithSomeProperties : ID2D1PixelShader
|
||||
{
|
||||
public float A;
|
||||
public int B;
|
||||
@@ -473,7 +473,7 @@ public partial class PixelShaderEffectTests
|
||||
[D2DInputCount(1)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
private partial struct ShaderWithSomePropertiesAndInputs : ID2D1PixelShader
|
||||
internal partial struct ShaderWithSomePropertiesAndInputs : ID2D1PixelShader
|
||||
{
|
||||
public int Number;
|
||||
|
||||
@@ -485,7 +485,7 @@ public partial class PixelShaderEffectTests
|
||||
|
||||
[D2DInputCount(0)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private partial struct ShaderWith0Inputs : ID2D1PixelShader
|
||||
internal partial struct ShaderWith0Inputs : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -496,7 +496,7 @@ public partial class PixelShaderEffectTests
|
||||
[D2DInputCount(1)]
|
||||
[D2DInputSimple(0)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private partial struct ShaderWith1Input : ID2D1PixelShader
|
||||
internal partial struct ShaderWith1Input : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
@@ -508,7 +508,7 @@ public partial class PixelShaderEffectTests
|
||||
[D2DInputSimple(0)]
|
||||
[D2DInputSimple(1)]
|
||||
[D2DGeneratedPixelShaderDescriptor]
|
||||
private partial struct ShaderWith2Inputs : ID2D1PixelShader
|
||||
internal partial struct ShaderWith2Inputs : ID2D1PixelShader
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
|
||||
@@ -146,7 +146,7 @@ public partial class DeviceDisposalTests
|
||||
[EmbeddedBytecode(DispatchAxis.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
[AutoConstructor]
|
||||
private readonly partial struct InitializeShader : IComputeShader
|
||||
internal readonly partial struct InitializeShader : IComputeShader
|
||||
{
|
||||
private readonly ReadWriteBuffer<float> buffer;
|
||||
|
||||
@@ -179,7 +179,7 @@ public partial class DeviceDisposalTests
|
||||
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
private partial struct HelloWorldShader : IComputeShader<float4>
|
||||
internal partial struct HelloWorldShader : IComputeShader<float4>
|
||||
{
|
||||
public float4 Execute()
|
||||
{
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする