projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f21669e
)
gallivm: remove unused src_elem_type variable
author
Brian Paul
<brianp@vmware.com>
Wed, 8 Aug 2012 15:39:36 +0000
(09:39 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 8 Aug 2012 15:39:36 +0000
(09:39 -0600)
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_format_aos_array.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_format_aos_array.c
b/src/gallium/auxiliary/gallivm/lp_bld_format_aos_array.c
index b8ec379d76fa9a75f6f0456d3ace6db4f3272df7..b163fbc66d6f330d01ae56e2c0a6d3081a8e796f 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_format_aos_array.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_format_aos_array.c
@@
-54,7
+54,7
@@
lp_build_fetch_rgba_aos_array(struct gallivm_state *gallivm,
{
struct lp_build_context bld;
LLVMBuilderRef builder = gallivm->builder;
- LLVMTypeRef src_
elem_type, src_
vec_type;
+ LLVMTypeRef src_vec_type;
LLVMValueRef ptr, res = NULL;
struct lp_type src_type;
@@
-68,7
+68,6
@@
lp_build_fetch_rgba_aos_array(struct gallivm_state *gallivm,
assert(src_type.length <= dst_type.length);
- src_elem_type = lp_build_elem_type(gallivm, src_type);
src_vec_type = lp_build_vec_type(gallivm, src_type);
/* Read whole vector from memory, unaligned */