From: Ian Romanick Date: Fri, 8 Jul 2016 05:15:53 +0000 (-0700) Subject: glsl: Delete spurious comment about mod not taking integer operands X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4af9f36e724a7f8b17c41508a0f8cd37470678b;p=mesa.git 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 --- diff --git a/src/compiler/glsl/ir_expression_operation.py b/src/compiler/glsl/ir_expression_operation.py index 5c7ad35903d..8098dac2156 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.