-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use "literal" term where appropriate in shader language.
Previously we were using "constant" to describe all instances of immutable declarations, whether that was an inline literal or an actual declared constant variable. This lack of disambiguation also resulted in some misleading error messages, ie: "expected integer constant" where only a literal is actually valid (and passing an actual constant like PI would fail with that exact error message). This also improves a few error messages that only stated the expectation of an integer literal when it was more appropriate to say an integer OR float literal.
- Loading branch information
1 parent
b0655dc
commit 3f10cc8
Showing
6 changed files
with
187 additions
and
187 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
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
Oops, something went wrong.