llvmpipe: Remove unused variable.
authorVinson Lee <vlee@vmware.com>
Sat, 24 Apr 2010 21:29:08 +0000 (14:29 -0700)
committerVinson Lee <vlee@vmware.com>
Sat, 24 Apr 2010 21:29:08 +0000 (14:29 -0700)
src/gallium/drivers/llvmpipe/lp_state_fs.c

index a59b59002929ee41869407099e721112eb70f1f2..3eb25d412777a605fe49e6d97eadbfc1df5f3372 100644 (file)
@@ -403,7 +403,6 @@ generate_fs(struct llvmpipe_context *lp,
             LLVMValueRef step2_ptr)
 {
    const struct tgsi_token *tokens = shader->base.tokens;
-   LLVMTypeRef elem_type;
    LLVMTypeRef vec_type;
    LLVMTypeRef int_vec_type;
    LLVMValueRef consts_ptr;
@@ -422,7 +421,6 @@ generate_fs(struct llvmpipe_context *lp,
    stencil_refs[0] = lp_jit_context_stencil_ref_front_value(builder, context_ptr);
    stencil_refs[1] = lp_jit_context_stencil_ref_back_value(builder, context_ptr);
 
-   elem_type = lp_build_elem_type(type);
    vec_type = lp_build_vec_type(type);
    int_vec_type = lp_build_int_vec_type(type);