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)]