summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-07-02 11:09:22 -0600
committerBrian Paul <[email protected]>2012-07-03 09:42:59 -0600
commit1853f467c6c0a6e7636b40fe99e1195c43b847aa (patch)
treea6859f0128a2acfa7674b7feb1fe70bedeb52006 /src/glsl
parentf34764ea5308221dc35479bd118142a0e249049c (diff)
glsl: fix unop/binop errors in comments
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/lower_instructions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/lower_instructions.cpp b/src/glsl/lower_instructions.cpp
index d79eb0a7ffb..a8ef7654e66 100644
--- a/src/glsl/lower_instructions.cpp
+++ b/src/glsl/lower_instructions.cpp
@@ -50,7 +50,7 @@
*
* DIV_TO_MUL_RCP and INT_DIV_TO_MUL_RCP:
* --------------------------------------
- * Breaks an ir_unop_div expression down to op0 * (rcp(op1)).
+ * Breaks an ir_binop_div expression down to op0 * (rcp(op1)).
*
* Many GPUs don't have a divide instruction (945 and 965 included),
* but they do have an RCP instruction to compute an approximate
@@ -74,7 +74,7 @@
*
* MOD_TO_FRACT:
* -------------
- * Breaks an ir_unop_mod expression down to (op1 * fract(op0 / op1))
+ * Breaks an ir_binop_mod expression down to (op1 * fract(op0 / op1))
*
* Many GPUs don't have a MOD instruction (945 and 965 included), and
* if we have to break it down like this anyway, it gives an