From: Ilia Mirkin Date: Mon, 11 Jan 2016 17:58:19 +0000 (-0500) Subject: nv50/ir: the whole point of data array is to hand out regular registers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f21df5c51349c90b807d3959edfac8099e5a1940;p=mesa.git nv50/ir: the whole point of data array is to hand out regular registers Fixes: 0d3051f75a (nv50/ir: Fix scratch allocation size and file) Signed-off-by: Ilia Mirkin --- diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_build_util.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_build_util.cpp index c6d540025d9..1bf7240e131 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_build_util.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_build_util.cpp @@ -499,7 +499,7 @@ BuildUtil::DataArray::acquire(ValueMap &m, int i, int c) return v; } else { - return up->getScratch(eltSize, file); + return up->getScratch(eltSize); } }