if i have a kernel, which have 2 gather stream and 1 scatter stream, the domain of which are different from the kernel. can it works? and how brook know the domain of each one?
kernel void test(float a, float b, out float c)
the a, b, c and kernel have different domain.
Please see the following link for answer -
Brook+ generate a new stream for each domain used and runs a copy shader from the new stream to old stream or vice-versa.