We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following:
struct InstanceTest { uint data1_; uint data2_; uint data3_; }; __kernel void test(__global InstanceTest* dst) { const size_t index = get_global_id(0); InstanceTest instances[2]; if (index < 2) { dst[index] = instances[index]; } }
Generates a OpPtrAccessChain into a function storage pointer:
%35 = OpPtrAccessChain %_ptr_Function_uint %33 %uint_3
https://gcc.godbolt.org/z/oz5MGoWd5
I don't think this is valid. See also #135
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following:
Generates a OpPtrAccessChain into a function storage pointer:
https://gcc.godbolt.org/z/oz5MGoWd5
I don't think this is valid.
See also #135
The text was updated successfully, but these errors were encountered: