Mesa (master): gallivm: add a few comments

Brian Paul brianp at kemper.freedesktop.org
Wed May 12 16:39:10 UTC 2010


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

Author: Brian Paul <brianp at vmware.com>
Date:   Wed May 12 10:20:50 2010 -0600

gallivm: add a few comments

---

 src/gallium/auxiliary/gallivm/lp_bld_sample.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.h b/src/gallium/auxiliary/gallivm/lp_bld_sample.h
index 1941262..7e8bc8b 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_sample.h
+++ b/src/gallium/auxiliary/gallivm/lp_bld_sample.h
@@ -56,14 +56,14 @@ struct lp_sampler_static_state
 {
    /* pipe_sampler_view's state */
    enum pipe_format format;
-   unsigned swizzle_r:3;
+   unsigned swizzle_r:3;     /**< PIPE_SWIZZLE_* */
    unsigned swizzle_g:3;
    unsigned swizzle_b:3;
    unsigned swizzle_a:3;
 
    /* pipe_texture's state */
-   unsigned target:3;
-   unsigned pot_width:1;
+   unsigned target:3;        /**< PIPE_TEXTURE_* */
+   unsigned pot_width:1;     /**< is the width a power of two? */
    unsigned pot_height:1;
    unsigned pot_depth:1;
 




More information about the mesa-commit mailing list