[Mesa-dev] [PATCH 10/10] radv: fix warnings in ubo load code.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Thu Dec 8 08:44:18 UTC 2016


Series is:

Reviewed by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>

On 8 Dec 2016 1:19 AM, "Dave Airlie" <airlied at gmail.com> wrote:

> From: Dave Airlie <airlied at redhat.com>
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  src/amd/common/ac_nir_to_llvm.c | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_
> llvm.c
> index 5820e62..c2a74d4 100644
> --- a/src/amd/common/ac_nir_to_llvm.c
> +++ b/src/amd/common/ac_nir_to_llvm.c
> @@ -2095,9 +2095,6 @@ static LLVMValueRef visit_load_buffer(struct
> nir_to_llvm_context *ctx,
>  static LLVMValueRef visit_load_ubo_buffer(struct nir_to_llvm_context *ctx,
>                                            nir_intrinsic_instr *instr)
>  {
> -       const nir_intrinsic_info *info = &nir_intrinsic_infos[instr->
> intrinsic];
> -       const char *load_name;
> -       LLVMTypeRef data_type = ctx->f32;
>         LLVMValueRef results[4], ret;
>         LLVMValueRef rsrc = get_src(ctx, instr->src[0]);
>         LLVMValueRef offset = get_src(ctx, instr->src[1]);
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161208/97ac52f6/attachment-0001.html>


More information about the mesa-dev mailing list