[Mesa-dev] [PATCH 1/2] llvmpipe: increase texture target width to reflect increase

Dave Airlie airlied at gmail.com
Fri Dec 7 22:02:04 PST 2012


From: Dave Airlie <airlied at redhat.com>

Now that we've gone over 7.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 src/gallium/auxiliary/gallivm/lp_bld_sample.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample.h b/src/gallium/auxiliary/gallivm/lp_bld_sample.h
index ddd450b..87bf556 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_sample.h
+++ b/src/gallium/auxiliary/gallivm/lp_bld_sample.h
@@ -76,7 +76,7 @@ struct lp_sampler_static_state
    unsigned swizzle_a:3;
 
    /* pipe_texture's state */
-   unsigned target:3;        /**< PIPE_TEXTURE_* */
+   unsigned target:4;        /**< PIPE_TEXTURE_* */
    unsigned pot_width:1;     /**< is the width a power of two? */
    unsigned pot_height:1;
    unsigned pot_depth:1;
-- 
1.7.11.7



More information about the mesa-dev mailing list