From f4af9f36e724a7f8b17c41508a0f8cd37470678b Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 7 Jul 2016 22:15:53 -0700 Subject: [PATCH] glsl: Delete spurious comment about mod not taking integer operands This hasn't been true since we added support for GLSL 1.30. Signed-off-by: Ian Romanick Reviewed-by: Matt Turner --- src/compiler/glsl/ir_expression_operation.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/compiler/glsl/ir_expression_operation.py b/src/compiler/glsl/ir_expression_operation.py index 5c7ad35..8098dac 100644 --- a/src/compiler/glsl/ir_expression_operation.py +++ b/src/compiler/glsl/ir_expression_operation.py @@ -145,12 +145,7 @@ ir_expression_operation = [ # from the first argument. ("borrow", 2, None), - # Takes one of two combinations of arguments: - # - # - mod(vecN, vecN) - # - mod(vecN, float) - # - # Does not take integer types. + # Either (vector % vector) or (vector % scalar) ("mod", 2, "%"), # Binary comparison operators which return a boolean vector. -- 2.7.4