mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
internal/shaderir: make outputs for unexpected operators consistent
This commit is contained in:
parent
4893b13acc
commit
cfd0de5c41
@ -61,7 +61,7 @@ func opString(op shaderir.Op) string {
|
||||
case shaderir.OrOr:
|
||||
return "||"
|
||||
}
|
||||
return fmt.Sprintf("!(unexpected operator: %d)", op)
|
||||
return fmt.Sprintf("?(unexpected operator: %d)", op)
|
||||
}
|
||||
|
||||
func typeString(t *shaderir.Type) (string, string) {
|
||||
|
@ -61,7 +61,7 @@ func opString(op shaderir.Op) string {
|
||||
case shaderir.OrOr:
|
||||
return "||"
|
||||
}
|
||||
return fmt.Sprintf("!(unexpected operator: %d)", op)
|
||||
return fmt.Sprintf("?(unexpected operator: %d)", op)
|
||||
}
|
||||
|
||||
func typeString(t *shaderir.Type) (string, string) {
|
||||
|
@ -61,7 +61,7 @@ func opString(op shaderir.Op) string {
|
||||
case shaderir.OrOr:
|
||||
return "||"
|
||||
}
|
||||
return fmt.Sprintf("!(unexpected operator: %d)", op)
|
||||
return fmt.Sprintf("?(unexpected operator: %d)", op)
|
||||
}
|
||||
|
||||
func typeString(t *shaderir.Type, packed bool, ref bool) string {
|
||||
|
Loading…
Reference in New Issue
Block a user