| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-02-07 | Use and() and or() functions for logical-AND and OR (#6310) | Jay Kwak | |
| * Use and() and or() functions for logical-AND and OR With this commit, Slang will emit function calls to `and()` and `or()` for the logical-AND and logical-OR when the operands are non-scalar and the target profile is SM6.0 and above. This is required change from SM6.0. For WGSL, there is no operator overloadings of `&&` and `||` when the operands are non-scalar. Unlike HLSL, WGSL also don't have `and()` nor `or()`. Alternatively, we can use `select()`. | |||
