[Mesa-dev] [PATCH 2/2] r600g: remove unused base_vector_chan variable
Michel Dänzer
michel at daenzer.net
Wed Jul 9 18:31:51 PDT 2014
On 10.07.2014 10:26, Ilia Mirkin wrote:
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> ---
>
> Happened to notice the warning when compiling r600. Perhaps the use got
> removed in some LLVM version cleanup? I didn't think it was important to go
> digging though.
>
> src/gallium/drivers/r600/r600_llvm.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c
> index 4fcca69..d1e3255 100644
> --- a/src/gallium/drivers/r600/r600_llvm.c
> +++ b/src/gallium/drivers/r600/r600_llvm.c
> @@ -366,7 +366,6 @@ static void llvm_emit_epilogue(struct lp_build_tgsi_context * bld_base)
> case TGSI_SEMANTIC_CLIPVERTEX: {
> LLVMValueRef args[3];
> unsigned reg_index;
> - unsigned base_vector_chan;
> LLVMValueRef adjusted_elements[4];
> for (reg_index = 0; reg_index < 2; reg_index ++) {
> for (chan = 0; chan < TGSI_NUM_CHANNELS; chan++) {
>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the mesa-dev
mailing list