Mesa (master): gallium: fix some function comments in p_context.h

Brian Paul brianp at kemper.freedesktop.org
Thu Nov 15 14:57:05 UTC 2012


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

Author: Dmitry Cherkassov <dcherkassov at gmail.com>
Date:   Wed Nov 14 23:33:18 2012 +0400

gallium: fix some function comments in p_context.h

Signed-off-by: Dmitry Cherkassov <dcherkassov at gmail.com>
Reviewed-by: Brian Paul <brianp at vmware.com>

---

 src/gallium/include/pipe/p_context.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h
index 88e12b2..c5dcae5 100644
--- a/src/gallium/include/pipe/p_context.h
+++ b/src/gallium/include/pipe/p_context.h
@@ -237,7 +237,7 @@ struct pipe_context {
     * graphics pipeline.  Any resources that were previously bound to
     * the specified range will be unbound after this call.
     *
-    * \param first      first resource to bind.
+    * \param start      first resource to bind.
     * \param count      number of consecutive resources to bind.
     * \param resources  array of pointers to the resources to bind, it
     *                   should contain at least \a count elements
@@ -366,7 +366,6 @@ struct pipe_context {
    /**
     * Get a surface which is a "view" into a resource, used by
     * render target / depth stencil stages.
-    * \param usage  bitmaks of PIPE_BIND_* flags
     */
    struct pipe_surface *(*create_surface)(struct pipe_context *ctx,
                                           struct pipe_resource *resource,
@@ -454,7 +453,7 @@ struct pipe_context {
     * compute program.  Any resources that were previously bound to
     * the specified range will be unbound after this call.
     *
-    * \param first      first resource to bind.
+    * \param start      first resource to bind.
     * \param count      number of consecutive resources to bind.
     * \param resources  array of pointers to the resources to bind, it
     *                   should contain at least \a count elements




More information about the mesa-commit mailing list