Module: Mesa
Branch: master
Commit: ce671c7aceca33a2f29dddfaa555a25218524146
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce671c7aceca33a2f29dddfaa555a25218524146

Author: Brian Paul <[email protected]>
Date:   Tue Feb 28 07:45:17 2012 -0700

util: better comment for util_is_format_compatible()

---

 src/gallium/auxiliary/util/u_format.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_format.h 
b/src/gallium/auxiliary/util/u_format.h
index 874ea7e..b9ae7c1 100644
--- a/src/gallium/auxiliary/util/u_format.h
+++ b/src/gallium/auxiliary/util/u_format.h
@@ -578,8 +578,9 @@ boolean
 util_format_is_pure_uint(enum pipe_format format);
 
 /**
- * Whether the src format can be blitted to destation format with a simple
- * memcpy.
+ * Check if the src format can be blitted to the destination format with
+ * a simple memcpy.  For example, blitting from RGBA to RGBx is OK, but not
+ * the reverse.
  */
 boolean
 util_is_format_compatible(const struct util_format_description *src_desc,

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to