Mesa (master): glsl: Add comments to clarify the types of comparison binops .
Kenneth Graunke
kwg at kemper.freedesktop.org
Mon Sep 20 15:34:09 UTC 2010
Module: Mesa
Branch: master
Commit: 14eea268284491d64ff92b37723bff1e9ff14b40
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=14eea268284491d64ff92b37723bff1e9ff14b40
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Sun Sep 19 04:50:28 2010 +0200
glsl: Add comments to clarify the types of comparison binops.
---
src/glsl/ir.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index 909f824..240e7cd 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -719,7 +719,8 @@ enum ir_expression_operation {
ir_binop_mod,
/**
- * \name Binary comparison operators
+ * \name Binary comparison operators which return a boolean vector.
+ * The type of both operands must be equal.
*/
/*@{*/
ir_binop_less,
More information about the mesa-commit
mailing list