---
title: "makeComputePipelineState(additionalBinaryFunctions:)"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtlcomputepipelinestate/makecomputepipelinestate(additionalbinaryfunctions:)"
---

# makeComputePipelineState(additionalBinaryFunctions:)

Allocates a new compute pipeline state by adding binary functions to this pipeline state.

## Declaration

```swift
func makeComputePipelineState(additionalBinaryFunctions: [any MTL4BinaryFunction]) throws -> any MTLComputePipelineState
```

## Parameters

- `additionalBinaryFunctions`: A non-nil array containing binary functions to add to this pipeline.

## Return Value

Return Value A new compute pipeline state upon success, otherwise nil.
