Back to Help


Compute Pipeline States

(this feature requires an in-app purchase)

Compute Pipeline States allow you to run general compute work on your GPU and see the results on the Shader Path window. Its view on the Shader Path reflects any input and output textures on which it operates, and the code it uses to do its work can be viewed in the Code Edit window.

ShaderScope provides a few Compute Pipeline States that have compute/kernel shader code in them and are ready to do work, but as with Render Pipeline States these are meant as a starting point to save you from having to set up the code to read from and write to textures. The intent is that either they're useful placeholders, a good starting point on which you can build, including adding and deleting shader parameters, and lightweight enough that you can feel comfortable deleting them and writing your own from scratch if that better suits your needs.

The starter compute/kernel shaders include:

To add a Compute Pipeline State, click Pipeline State on the Shader Path toolbar menu and choose a starter compute shader that makes sense for your project. You will see its texture view added to the Shader Path window and the code for its compute/kernel shader in the Code Edit window . You can change the Compute Pipeline State's name by double-clicking its label and typing a new name (this new name will also be reflected on its tab in the Code Edit window).



See also:

Shaders Inputs
Shaders Parameters


Back to Help