Class ComputeDebugUtils
Inheritance
ComputeDebugUtils
Syntax
public class ComputeDebugUtils
Fields
breakOnAssertion
DEBUG ONLY: if ComputeDebugUtils.debugKernels is true and debugger is attached, debugger will break when a kernel assertion is catch.
Declaration
public static bool breakOnAssertion
Field Value
debugKernels
DEBUG ONLY: debugKernels
allow to track out of bound read/write and assertion in kernels.
When set to true be sure to define KERNEL_ASSERTS or FORCE_DEBUG in the particular kernel(s)
you want to debug (see in DebugUtils.cginc).
Production code should not set this to 'true' as this will significantly degrade performances.
Declaration
public static bool debugKernels
Field Value
Methods
PrepareDispatch()
Declaration
public static void PrepareDispatch()
VerifyDispatch(String)
Declaration
public static void VerifyDispatch(string kernelName)
Parameters
Type |
Name |
Description |
String |
kernelName |
|