From ada9a1bb05172acf28b07a5dc890acf7bcf973b8 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Sun, 31 Jan 2021 21:18:43 -0800 Subject: [PATCH] rename params to uniforms --- lib/RefreshCS | 2 +- src/Graphics/CommandBuffer.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/RefreshCS b/lib/RefreshCS index 381c412..11d5671 160000 --- a/lib/RefreshCS +++ b/lib/RefreshCS @@ -1 +1 @@ -Subproject commit 381c412914619db10ad191b13f4f4d4aae8f1072 +Subproject commit 11d5671762bc999663672959568399b8e564420f diff --git a/src/Graphics/CommandBuffer.cs b/src/Graphics/CommandBuffer.cs index bae0952..0ebd76b 100644 --- a/src/Graphics/CommandBuffer.cs +++ b/src/Graphics/CommandBuffer.cs @@ -69,13 +69,13 @@ namespace MoonWorks.Graphics ); } - public unsafe uint PushComputeShaderParams( + public unsafe uint PushComputeShaderUniforms( params T[] uniforms ) where T : unmanaged { fixed (T* ptr = &uniforms[0]) { - return Refresh.Refresh_PushComputeShaderParams( + return Refresh.Refresh_PushComputeShaderUniforms( Device.Handle, Handle, (IntPtr) ptr,