OSDN Git Service

llvmpipe: remove extraneous const qualifier
authorBrian Paul <brianp@vmware.com>
Wed, 6 Feb 2013 16:16:58 +0000 (09:16 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 6 Feb 2013 16:16:58 +0000 (09:16 -0700)
src/gallium/drivers/llvmpipe/lp_bld_blend.h
src/gallium/drivers/llvmpipe/lp_bld_blend_aos.c

index 3a3be81..394935b 100644 (file)
@@ -56,7 +56,7 @@ lp_build_blend(struct lp_build_context *bld,
 LLVMValueRef
 lp_build_blend_aos(struct gallivm_state *gallivm,
                    const struct pipe_blend_state *blend,
-                   const enum pipe_format cbuf_format,
+                   enum pipe_format cbuf_format,
                    struct lp_type type,
                    unsigned rt,
                    LLVMValueRef src,
index 65f66e0..ccdf852 100644 (file)
@@ -278,7 +278,7 @@ lp_build_blend_factor(struct lp_build_blend_aos_context *bld,
 LLVMValueRef
 lp_build_blend_aos(struct gallivm_state *gallivm,
                    const struct pipe_blend_state *blend,
-                   const enum pipe_format cbuf_format,
+                   enum pipe_format cbuf_format,
                    struct lp_type type,
                    unsigned rt,
                    LLVMValueRef src,