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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
OpenCL C++ specification has this example:
int8 v8; ... int3 v8c1 = v8.xyz; // ill-formed: xyzw and rgba selectors // are not allowed on vector expressions // with more than 4 components
"Table 2.5: Selector values and their corresponding components in swizzle" allows xyzw and rgba selectors only for vectors of 2, 3, 4 components.
Currently clang compiles this code without errors or warnings. Should it fail in this case?
The text was updated successfully, but these errors were encountered:
It may fail. I don't know if this is required.
Sorry, something went wrong.
No branches or pull requests
OpenCL C++ specification has this example:
"Table 2.5: Selector values and their corresponding components in swizzle" allows xyzw and rgba selectors only for vectors of 2, 3, 4 components.
Currently clang compiles this code without errors or warnings.
Should it fail in this case?
The text was updated successfully, but these errors were encountered: