summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_expression_operation.py
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2016-07-07 22:15:53 -0700
committerIan Romanick <ian.d.romanick@intel.com>2016-08-30 16:28:00 -0700
commitf4af9f36e724a7f8b17c41508a0f8cd37470678b (patch)
tree148a96234ebb6f31be0ad987991eeb1b68e396a8 /src/compiler/glsl/ir_expression_operation.py
parentd6ad3e2dd9d2b4066ee972c0cb8cdf3ff6649eaf (diff)
downloadexternal_mesa3d-f4af9f36e724a7f8b17c41508a0f8cd37470678b.zip
external_mesa3d-f4af9f36e724a7f8b17c41508a0f8cd37470678b.tar.gz
external_mesa3d-f4af9f36e724a7f8b17c41508a0f8cd37470678b.tar.bz2
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 <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/compiler/glsl/ir_expression_operation.py')
-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 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.