From f21df5c51349c90b807d3959edfac8099e5a1940 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Mon, 11 Jan 2016 12:58:19 -0500 Subject: [PATCH] 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 --- src/gallium/drivers/nouveau/codegen/nv50_ir_build_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.30.2