-
Notifications
You must be signed in to change notification settings - Fork 745
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL] Implement "swizzle" member function on swizzles (#16353)
It brings it closer to SYCL spec and makes more consistent by having "named" swizzle member functions (like `.hi()`/`.lo()`) and `.swizzle<...>()` behave in a similar way, i.e. we still have a bug when doing a swizzle on an expression tree. Note that the whole "expression tree" machinery is not standard-conformant and will be completely removed separately (under `-fpreview-breaking-changes` flag). I still want to implement this partial bugfix so that I could switch to a unified mixin-based implementation for swizzles on `vec`/`swizzle` classes, instead of doing preprocessor tricks with `swizzles.def` file.
- Loading branch information
1 parent
4e8b647
commit 3524739
Showing
2 changed files
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters