Hi,
I’m trying to perform a coordinate transform on a 5000 × 5000 image using ComputeSharp. For example, I want to determine how the point [0, 0] maps to [2, 2] after the transform.
However, when allocating or dispatching the compute shader, I encounter the following error:
Specified argument was out of the range of valid values. (Parameter 'groupsX')
My shader
Exception here(totalPixelsInt is the size):

Hi,
I’m trying to perform a coordinate transform on a 5000 × 5000 image using ComputeSharp. For example, I want to determine how the point [0, 0] maps to [2, 2] after the transform.
However, when allocating or dispatching the compute shader, I encounter the following error:
Specified argument was out of the range of valid values. (Parameter 'groupsX')My shader
Exception here(totalPixelsInt is the size):