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 ">"
|
return ">"
|
||||||
case shaderir.GreaterThanEqualOp:
|
case shaderir.GreaterThanEqualOp:
|
||||||
return ">="
|
return ">="
|
||||||
case shaderir.EqualOp:
|
case shaderir.EqualOp, shaderir.VectorEqualOp:
|
||||||
return "=="
|
return "=="
|
||||||
case shaderir.NotEqualOp:
|
case shaderir.NotEqualOp, shaderir.VectorNotEqualOp:
|
||||||
return "!="
|
return "!="
|
||||||
case shaderir.And:
|
case shaderir.And:
|
||||||
return "&"
|
return "&"
|
||||||
|
Loading…
Reference in New Issue
Block a user