summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-07-07 22:15:53 -0700
committerIan Romanick <[email protected]>2016-08-30 16:28:00 -0700
commitf4af9f36e724a7f8b17c41508a0f8cd37470678b (patch)
tree148a96234ebb6f31be0ad987991eeb1b68e396a8 /src
parentd6ad3e2dd9d2b4066ee972c0cb8cdf3ff6649eaf (diff)
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 <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/compiler/glsl/ir_expression_operation.py7
1 files changed, 1 insertions, 6 deletions
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.