projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cba475b
)
radeonsi: remove unused variables in si_insert_input_ptr
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 14 Dec 2018 20:08:50 +0000
(15:08 -0500)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 2 Jan 2019 20:01:58 +0000
(15:01 -0500)
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/gallium/drivers/radeonsi/si_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index 35fee58a9aa21b710f56a110e6a8465fc7f3f127..f64fb2e959f180e8c970fdb75cef44cd1b1fb276 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_shader.c
+++ b/
src/gallium/drivers/radeonsi/si_shader.c
@@
-3256,9
+3256,7
@@
si_insert_input_ptr(struct si_shader_context *ctx, LLVMValueRef ret,
unsigned param, unsigned return_index)
{
LLVMBuilderRef builder = ctx->ac.builder;
- LLVMValueRef ptr, lo, hi;
-
- ptr = LLVMGetParam(ctx->main_fn, param);
+ LLVMValueRef ptr = LLVMGetParam(ctx->main_fn, param);
ptr = LLVMBuildPtrToInt(builder, ptr, ctx->i32, "");
return LLVMBuildInsertValue(builder, ret, ptr, return_index, "");
}