I try the exec_domain example, I wonder why:
// Offset from the top-left corner
writePos.domainOffset(uint4(1, 1, 0, 0));
// Size of domain of execution
writePos.domainSize(uint4(5, 5, 1, 1));
The domainOffset has double zero at z and w posotion of uint4 while the domainSize z and w filled with double 1. I expect z and w for 3D and 4D coordinates (if 4D exist).
At first I change domainOffset to (0,0,0,0) and it start from 0,0 with width 5 and height 5 and then I change the domainSize to width 5 and height 6, it still starts from 0,0 and heigth increase. At this point I understand.
After that I change domainOffset to else (1,1,2,2) and domainSize to (5,5,0,0) but the output remains the same. Why? What the z and w in domainOffset and domainSize supposed to be? Why those z and w different at examples?