From c65ce14524e1592e2d1e11367c962de6507058b1 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Tue, 16 Aug 2022 17:16:42 +0200 Subject: [PATCH] Rename Buffer property to ConstantBuffer --- .../Shaders/Interop/D2D1PixelShaderEffect.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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);