From: Ian Romanick <ian.d.roman...@intel.com>

This hasn't been true since we added support for GLSL 1.30.

Signed-off-by: Ian Romanick <ian.d.roman...@intel.com>
---
 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.5.5

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to