[Mesa-dev] [PATCH] nv50/ir: fix link-time build failure

Ilia Mirkin imirkin at alum.mit.edu
Sun Sep 23 17:16:33 UTC 2018


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

On Sun, Sep 23, 2018 at 12:59 PM, Rhys Perry <pendingchaos02 at gmail.com> wrote:
> Seems this fixes linking problems that occur in some situations.
>
> Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
> ---
>  src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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 0cbf4d071f..295497be2f 100644
> --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
> +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
> @@ -1732,7 +1732,7 @@ NVC0LoweringPass::loadSuInfo32(Value *ptr, int slot, uint32_t off, bool bindless
>                          prog->driver->io.suInfoBase);
>  }
>
> -inline Value *
> +Value *
>  NVC0LoweringPass::loadMsAdjInfo32(TexInstruction::Target target, uint32_t index, int slot, Value *ind, bool bindless)
>  {
>     if (!bindless || targ->getChipset() < NVISA_GM107_CHIPSET)
> --
> 2.17.1
>


More information about the mesa-dev mailing list