nv50/ir: fix link-time build failure
authorRhys Perry <pendingchaos02@gmail.com>
Sun, 23 Sep 2018 16:57:08 +0000 (17:57 +0100)
committerRhys Perry <pendingchaos02@gmail.com>
Sun, 23 Sep 2018 17:20:08 +0000 (18:20 +0100)
Seems this fixes linking problems that occur in some situations.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp

index 0cbf4d071f2871c19bbbd26c9dcb301e1eb74ea3..295497be2f9b3a97cd27ac6b54362849447b2c5e 100644 (file)
@@ -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)