glsl: Delete spurious comment about mod not taking integer operands
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 8 Jul 2016 05:15:53 +0000 (22:15 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 30 Aug 2016 23:28:00 +0000 (16:28 -0700)
This hasn't been true since we added support for GLSL 1.30.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/compiler/glsl/ir_expression_operation.py

index 5c7ad35903d02ebcd3cd6c79ec5416a1cc0670e2..8098dac2156996f1bb5ad42087bcf962d3f41f04 100644 (file)
@@ -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.