From: Rhys Perry Date: Sun, 23 Sep 2018 16:57:08 +0000 (+0100) Subject: nv50/ir: fix link-time build failure X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ca1402c117856b55d044be1e82224db30ed1b02;p=mesa.git nv50/ir: fix link-time build failure Seems this fixes linking problems that occur in some situations. Signed-off-by: Rhys Perry Reviewed-by: Ilia Mirkin --- 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 0cbf4d071f2..295497be2f9 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)