Mesa (master): gallium: fix comment language, remove dangling comment
Brian Paul
brianp at kemper.freedesktop.org
Thu Apr 22 17:33:55 UTC 2010
Module: Mesa
Branch: master
Commit: 50d77c79fbcdf6a33691bfa120d54528d28091a4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=50d77c79fbcdf6a33691bfa120d54528d28091a4
Author: Brian Paul <brianp at vmware.com>
Date: Thu Apr 22 11:33:26 2010 -0600
gallium: fix comment language, remove dangling comment
---
src/gallium/include/pipe/p_defines.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
index 0a4bd58..48edfbf 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -291,10 +291,10 @@ enum pipe_transfer_usage {
#define PIPE_BIND_TRANSFER_READ (1 << 10) /* get_transfer */
#define PIPE_BIND_CUSTOM (1 << 16) /* state-tracker/winsys usages */
-/* The first two flags were previously part of the amorphous
+/* The first two flags above were previously part of the amorphous
* TEXTURE_USAGE, most of which are now descriptions of the ways a
- * particular texture can be bound to the gallium pipeline. These two
- * do not fit within that and probably need to be migrated to some
+ * particular texture can be bound to the gallium pipeline. The two flags
+ * below do not fit within that and probably need to be migrated to some
* other place.
*
* It seems like scanout is used by the Xorg state tracker to ask for
@@ -304,7 +304,7 @@ enum pipe_transfer_usage {
*
* The shared flag is quite underspecified, but certainly isn't a
* binding flag - it seems more like a message to the winsys to create
- * a shareable allocation. Could it mean that this texture is a valid argument for
+ * a shareable allocation.
*/
#define PIPE_BIND_SCANOUT (1 << 14) /* */
#define PIPE_BIND_SHARED (1 << 15) /* get_texture_handle ??? */
More information about the mesa-commit
mailing list