diff options
author | Keith Whitwell <[email protected]> | 2010-10-17 19:23:40 -0700 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-10-17 19:23:40 -0700 |
commit | 9da17fed2e7645a401a378ae690eb23513948e18 (patch) | |
tree | 6cbb25ee6f0bf5e663851041214c17bd874bf7bc /src/gallium/drivers/llvmpipe/lp_state_setup.c | |
parent | 75799b8d02ff3bc6acc5157bf62ee2188e9f3ee3 (diff) |
llvmpipe: remove unused arg from jit_setup_tri function
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_setup.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_setup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_setup.c b/src/gallium/drivers/llvmpipe/lp_state_setup.c index a8dee280dd5..2c8b8b9a928 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_state_setup.c @@ -485,7 +485,7 @@ generate_setup_variant(struct llvmpipe_screen *screen, char func_name[256]; LLVMTypeRef vec4f_type; LLVMTypeRef func_type; - LLVMTypeRef arg_types[8]; + LLVMTypeRef arg_types[7]; LLVMBasicBlockRef block; LLVMBuilderRef builder; int64_t t0, t1; @@ -521,7 +521,6 @@ generate_setup_variant(struct llvmpipe_screen *screen, arg_types[4] = LLVMPointerType(vec4f_type, 0); /* a0, aligned */ arg_types[5] = LLVMPointerType(vec4f_type, 0); /* dadx, aligned */ arg_types[6] = LLVMPointerType(vec4f_type, 0); /* dady, aligned */ - arg_types[7] = LLVMPointerType(vec4f_type, 0); /* key, unused */ func_type = LLVMFunctionType(LLVMVoidType(), arg_types, Elements(arg_types), 0); |