-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add scalar layout compatability trait (#298)
* Add scalar layout compatability trait This adds language for determining if two types are _scalar layout compatible_ by defining a _scalarized representation_ which is a sequence of types that can then be compared. The scalar representations of types will be used in several contexts throughout HLSL including: * "Flattened" type casting * Scalarized initiailization lists * Defining additional type traits (homogeneous types)
- Loading branch information
1 parent
b975336
commit d9cea8e
Showing
1 changed file
with
38 additions
and
0 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