diff --git a/MoltenVK/MoltenVK/Commands/MVKCmdRenderPass.h b/MoltenVK/MoltenVK/Commands/MVKCmdRenderPass.h index 42e75f1b..78bc7e09 100644 --- a/MoltenVK/MoltenVK/Commands/MVKCmdRenderPass.h +++ b/MoltenVK/MoltenVK/Commands/MVKCmdRenderPass.h @@ -179,8 +179,8 @@ class MVKCmdSetDepthBias : public MVKCommand { public: VkResult setContent(MVKCommandBuffer* cmdBuff, float depthBiasConstantFactor, - float depthBiasSlopeFactor, - float depthBiasClamp); + float depthBiasClamp, + float depthBiasSlopeFactor); void encode(MVKCommandEncoder* cmdEncoder) override; diff --git a/MoltenVK/MoltenVK/Commands/MVKCmdRenderPass.mm b/MoltenVK/MoltenVK/Commands/MVKCmdRenderPass.mm index cbf4255a..d8b49254 100644 --- a/MoltenVK/MoltenVK/Commands/MVKCmdRenderPass.mm +++ b/MoltenVK/MoltenVK/Commands/MVKCmdRenderPass.mm @@ -189,8 +189,8 @@ MVKFuncionOverride_getTypePool(SetDepthBias) VkResult MVKCmdSetDepthBias::setContent(MVKCommandBuffer* cmdBuff, float depthBiasConstantFactor, - float depthBiasSlopeFactor, - float depthBiasClamp) { + float depthBiasClamp, + float depthBiasSlopeFactor) { _depthBiasConstantFactor = depthBiasConstantFactor; _depthBiasSlopeFactor = depthBiasSlopeFactor; _depthBiasClamp = depthBiasClamp;