[Mesa-dev] [PATCH 3/3] nvc0/ir: remove unused resource info loading helpers

Ilia Mirkin imirkin at alum.mit.edu
Fri Jul 8 15:06:24 UTC 2016


Series is

Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

On Tue, Jul 5, 2016 at 8:01 AM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  .../nouveau/codegen/nv50_ir_lowering_nvc0.cpp      | 24 ----------------------
>  .../nouveau/codegen/nv50_ir_lowering_nvc0.h        |  4 ----
>  2 files changed, 28 deletions(-)
>
> diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
> index 561ff62..9735773 100644
> --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
> +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
> @@ -1451,24 +1451,6 @@ NVC0LoweringPass::loadResLength32(Value *ptr, uint32_t off, uint16_t base)
>  }
>
>  inline Value *
> -NVC0LoweringPass::loadSuInfo64(Value *ptr, uint32_t off)
> -{
> -   return loadResInfo64(ptr, off, prog->driver->io.suInfoBase);
> -}
> -
> -inline Value *
> -NVC0LoweringPass::loadSuLength32(Value *ptr, uint32_t off)
> -{
> -   return loadResLength32(ptr, off, prog->driver->io.suInfoBase);
> -}
> -
> -inline Value *
> -NVC0LoweringPass::loadBufInfo32(Value *ptr, uint32_t off)
> -{
> -   return loadResInfo32(ptr, off, prog->driver->io.bufInfoBase);
> -}
> -
> -inline Value *
>  NVC0LoweringPass::loadBufInfo64(Value *ptr, uint32_t off)
>  {
>     return loadResInfo64(ptr, off, prog->driver->io.bufInfoBase);
> @@ -1481,12 +1463,6 @@ NVC0LoweringPass::loadBufLength32(Value *ptr, uint32_t off)
>  }
>
>  inline Value *
> -NVC0LoweringPass::loadUboInfo32(Value *ptr, uint32_t off)
> -{
> -   return loadResInfo32(ptr, off, prog->driver->io.uboInfoBase);
> -}
> -
> -inline Value *
>  NVC0LoweringPass::loadUboInfo64(Value *ptr, uint32_t off)
>  {
>     return loadResInfo64(ptr, off, prog->driver->io.uboInfoBase);
> diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h
> index 5ab27ce..4d7d8cc 100644
> --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h
> +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.h
> @@ -127,12 +127,8 @@ private:
>     Value *loadResInfo64(Value *ptr, uint32_t off, uint16_t base);
>     Value *loadResLength32(Value *ptr, uint32_t off, uint16_t base);
>     Value *loadSuInfo32(Value *ptr, int slot, uint32_t off);
> -   Value *loadSuInfo64(Value *ptr, uint32_t off);
> -   Value *loadSuLength32(Value *ptr, uint32_t off);
> -   Value *loadBufInfo32(Value *ptr, uint32_t off);
>     Value *loadBufInfo64(Value *ptr, uint32_t off);
>     Value *loadBufLength32(Value *ptr, uint32_t off);
> -   Value *loadUboInfo32(Value *ptr, uint32_t off);
>     Value *loadUboInfo64(Value *ptr, uint32_t off);
>     Value *loadUboLength32(Value *ptr, uint32_t off);
>     Value *loadMsInfo32(Value *ptr, uint32_t off);
> --
> 2.9.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list