diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffect.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffect.cs
index e83187bb..cd73c442 100644
--- a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffect.cs
+++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffect.cs
@@ -104,8 +104,8 @@ public static unsafe class D2D1PixelShaderEffect
{effectInputsBuilder}
-
-
+
+
@@ -158,7 +158,7 @@ public static unsafe class D2D1PixelShaderEffect
";
fixed (char* pXml = xml)
- fixed (char* pBufferPropertyName = "Buffer")
+ fixed (char* pBufferPropertyName = "ConstantBuffer")
fixed (char* pResourceTextureManager0PropertyName = "ResourceTextureManager0")
fixed (char* pResourceTextureManager1PropertyName = "ResourceTextureManager1")
fixed (char* pResourceTextureManager2PropertyName = "ResourceTextureManager2")
@@ -360,8 +360,8 @@ public static unsafe class D2D1PixelShaderEffect
// Write the last part of the XML (including the buffer property)
writer.WriteAsUtf8(@"
-
-
+
+
@@ -418,7 +418,7 @@ public static unsafe class D2D1PixelShaderEffect
// Bindings
writer.Write(17);
- writer.WriteAsUtf8("Buffer");
+ writer.WriteAsUtf8("ConstantBuffer");
writer.Write((byte)'\0');
writer.Write((nint)PixelShaderEffect.GetConstantBuffer);
writer.Write((nint)PixelShaderEffect.SetConstantBuffer);