Rename [D2DEmbeddedBytecode] to [D2DShaderProfile]

このコミットが含まれているのは:
Sergio Pedri committed 2022-08-18 14:26:10 +02:00
1 親 140aa10a12
コミット 1738f36455
18ファイル変更
+29 -29

検索条件に一致するファイルはありません

+2 -2
ファイルの表示
@@ -65,7 +65,7 @@ public partial class D2D1PixelShaderTests
[D2DInputSimple(0)]
[D2DInputSimple(1)]
[D2DInputSimple(2)]
[D2DEmbeddedBytecode(D2D1ShaderProfile.PixelShader50)]
[D2DShaderProfile(D2D1ShaderProfile.PixelShader50)]
private readonly partial struct ShaderWithOverriddenProfile : ID2D1PixelShader
{
public float4 Execute()
@@ -133,7 +133,7 @@ public partial class D2D1PixelShaderTests
[D2DInputSimple(0)]
[D2DInputSimple(1)]
[D2DInputSimple(2)]
[D2DEmbeddedBytecode(D2D1ShaderProfile.PixelShader50)]
[D2DShaderProfile(D2D1ShaderProfile.PixelShader50)]
[D2DCompileOptions(D2D1CompileOptions.Debug | D2D1CompileOptions.AvoidFlowControl | D2D1CompileOptions.PartialPrecision)]
private readonly partial struct ShaderWithOverriddenProfileAndOptions : ID2D1PixelShader
{
+1 -1
ファイルの表示
@@ -1,4 +1,4 @@
using ComputeSharp.D2D1;
[assembly: D2DEmbeddedBytecode(D2D1ShaderProfile.PixelShader41)]
[assembly: D2DShaderProfile(D2D1ShaderProfile.PixelShader41)]
[assembly: D2DCompileOptions(D2D1CompileOptions.IeeeStrictness | D2D1CompileOptions.OptimizationLevel2 | D2D1CompileOptions.PartialPrecision)]
+3 -3
ファイルの表示
@@ -212,7 +212,7 @@ public partial class D2D1PixelShaderTests
[D2DInputSimple(2)]
[D2DInputComplex(1)]
[D2DInputComplex(3)]
[D2DEmbeddedBytecode(D2D1ShaderProfile.PixelShader50)]
[D2DShaderProfile(D2D1ShaderProfile.PixelShader50)]
[AutoConstructor]
partial struct ShaderWithResourceTextures : ID2D1PixelShader
{
@@ -291,7 +291,7 @@ public partial class D2D1PixelShaderTests
[D2DInputSimple(0)]
[D2DInputSimple(1)]
[D2DInputSimple(2)]
[D2DEmbeddedBytecode(D2D1ShaderProfile.PixelShader40Level91)]
[D2DShaderProfile(D2D1ShaderProfile.PixelShader40Level91)]
private readonly partial struct ShaderWithEmbeddedBytecode : ID2D1PixelShader
{
public float4 Execute()
@@ -337,7 +337,7 @@ public partial class D2D1PixelShaderTests
[D2DInputSimple(0)]
[D2DInputSimple(1)]
[D2DInputSimple(2)]
[D2DEmbeddedBytecode(D2D1ShaderProfile.PixelShader40Level91)]
[D2DShaderProfile(D2D1ShaderProfile.PixelShader40Level91)]
[D2DCompileOptions(D2D1CompileOptions.IeeeStrictness | D2D1CompileOptions.OptimizationLevel2)]
private readonly partial struct ShaderWithEmbeddedBytecodeAndCompileOptions : ID2D1PixelShader
{
+1 -1
ファイルの表示
@@ -20,7 +20,7 @@ public partial class D2DPixelShaderSourceTests
return float4(rgb, 1);
}
")]
[D2DEmbeddedBytecode(D2D1ShaderProfile.PixelShader50)]
[D2DShaderProfile(D2D1ShaderProfile.PixelShader50)]
[D2DCompileOptions(D2D1CompileOptions.OptimizationLevel0)]
private static partial ReadOnlySpan<byte> InvertEffect();
+1 -1
ファイルの表示
@@ -3,7 +3,7 @@
[D2DInputCount(1)]
[D2DInputSimple(0)]
[D2DRequiresScenePosition]
[D2DEmbeddedBytecode(D2D1ShaderProfile.PixelShader50)]
[D2DShaderProfile(D2D1ShaderProfile.PixelShader50)]
[AutoConstructor]
public partial struct CheckerboardClipEffect : ID2D1PixelShader
{
+1 -1
ファイルの表示
@@ -2,7 +2,7 @@
[D2DInputCount(1)]
[D2DInputSimple(0)]
[D2DEmbeddedBytecode(D2D1ShaderProfile.PixelShader50)]
[D2DShaderProfile(D2D1ShaderProfile.PixelShader50)]
public partial struct InvertEffect : ID2D1PixelShader
{
/// <inheritdoc/>
+1 -1
ファイルの表示
@@ -2,7 +2,7 @@
[D2DInputCount(1)]
[D2DInputSimple(0)]
[D2DEmbeddedBytecode(D2D1ShaderProfile.PixelShader50)]
[D2DShaderProfile(D2D1ShaderProfile.PixelShader50)]
[AutoConstructor]
public partial struct InvertWithThresholdEffect : ID2D1PixelShader
{
+1 -1
ファイルの表示
@@ -27,7 +27,7 @@ public sealed partial class PixelateEffect : ID2D1TransformMapper<PixelateEffect
[D2DInputCount(1)]
[D2DInputComplex(0)]
[D2DRequiresScenePosition]
[D2DEmbeddedBytecode(D2D1ShaderProfile.PixelShader40)]
[D2DShaderProfile(D2D1ShaderProfile.PixelShader40)]
[AutoConstructor]
public partial struct Shader : ID2D1PixelShader
{
+1 -1
ファイルの表示
@@ -4,7 +4,7 @@ namespace ComputeSharp.D2D1.Tests.Effects;
[D2DInputCount(0)]
[D2DRequiresScenePosition]
[D2DEmbeddedBytecode(D2D1ShaderProfile.PixelShader50)]
[D2DShaderProfile(D2D1ShaderProfile.PixelShader50)]
[AutoConstructor]
public readonly partial struct ZonePlateEffect : ID2D1PixelShader
{