dispatch method
Runs the bound pipeline over a grid of x × y × z workgroups.
Implementation
@override
void dispatch(int x, [int y = 1, int z = 1]) {
if (_pipeline == null) {
throw StateError('dispatch before any compute pipeline was bound');
}
checkDispatch(limits, x, y, z);
commands.add(RecordedCall('dispatch', arguments: (x: x, y: y, z: z)));
}