projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b9c7da
)
util: better comment for util_is_format_compatible()
author
Brian Paul
<brianp@vmware.com>
Tue, 28 Feb 2012 14:45:17 +0000
(07:45 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 29 Feb 2012 15:40:37 +0000
(08:40 -0700)
src/gallium/auxiliary/util/u_format.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_format.h
b/src/gallium/auxiliary/util/u_format.h
index
874ea7e
..
b9ae7c1
100644
(file)
--- 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,