internal/shaderir/glsl: bug fix: test failures with OpenGL

Updates #2186
This commit is contained in:
Hajime Hoshi 2022-07-09 02:43:46 +09:00
parent 7021086c07
commit a5179b9491

View File

@ -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 "&"