This is my function:
kernel void shaderFunction(device uint64_t* result, uint index [[thread_position_in_grid]])
{
...
}
This is the error:
Invalid type 'device uint64_t *' (aka 'device unsigned long *') for buffer declaration
When I looked in the Metal Specification, section scalar data types, uint64_t should be possible? Unless those can't be used to declare a buffer, but what types can then be used? And how can I use 64 bit data? (see: https://developer.apple.com/metal/Metal-Shading-Language-Specification.pdf)