internal/shader: fix misspellings

This commit is contained in:
Hajime Hoshi 2022-03-10 02:52:44 +09:00
parent 880dd0682e
commit 5614e9d7eb

View File

@ -35,7 +35,7 @@ func isUntypedInteger(expr *shaderir.Expr) bool {
func isModAvailable(lhs, rhs *shaderir.Expr) bool {
// % is available only when
// 1) both are an untyped integer
// 1) both are untyped integers
// 2) either is an typed integer and the other is truncatable to an integer
if isUntypedInteger(lhs) && isUntypedInteger(rhs) {
return true