mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
internal/shaderir/glsl: bug fix: test failures with OpenGL
Updates #2186
This commit is contained in:
parent
7021086c07
commit
a5179b9491
@ -46,9 +46,9 @@ func opString(op shaderir.Op) string {
|
||||
return ">"
|
||||
case shaderir.GreaterThanEqualOp:
|
||||
return ">="
|
||||
case shaderir.EqualOp:
|
||||
case shaderir.EqualOp, shaderir.VectorEqualOp:
|
||||
return "=="
|
||||
case shaderir.NotEqualOp:
|
||||
case shaderir.NotEqualOp, shaderir.VectorNotEqualOp:
|
||||
return "!="
|
||||
case shaderir.And:
|
||||
return "&"
|
||||
|
Loading…
Reference in New Issue
Block a user