diff options
author | Marek Olšák <[email protected]> | 2018-12-14 15:08:50 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-01-02 15:01:58 -0500 |
commit | edfca1f8dc92ce89895b9429e376e03b4876ea23 (patch) | |
tree | f17391e035bd57c72eeb84f6d910ea81e5642538 /src/gallium | |
parent | cba475b3e76f3dec31e0cacbee90a85c6edb784b (diff) |
radeonsi: remove unused variables in si_insert_input_ptr
Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 35fee58a9aa..f64fb2e959f 100644 --- 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, ""); } |