From a5179b9491348221f57f70866dd07163e10c72ea Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 9 Jul 2022 02:43:46 +0900 Subject: [PATCH] internal/shaderir/glsl: bug fix: test failures with OpenGL Updates #2186 --- internal/shaderir/glsl/type.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/shaderir/glsl/type.go b/internal/shaderir/glsl/type.go index 387e82705..5a1c59cc1 100644 --- a/internal/shaderir/glsl/type.go +++ b/internal/shaderir/glsl/type.go @@ -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 "&"