Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Coerce 'case' expressions to the same type as 'condition'
Some WGSL compilers complain if e.g. case expression is signed while condition expression is unsigned. Insert logic to coerce the case expression to be of the same type as the condition expression. This addresses issue shader-slang#4921.
- Loading branch information