Contents

maxCallStackDepth

The maximum call stack depth for indirect function calls in tile shaders.

Declaration

var maxCallStackDepth: Int { get set }

Discussion

The property’s default value is 1. Change its value if you use recursive functions in your tile dispatch.

The maximum call stack depth applies only to indirect function calls in your shader, and affects the upper bound of stack memory for each thread. Indirect function calls include those to visible functions, intersection functions, and to dynamic libraries.

See Also

Specifying graphics functions and associated data