nv50/ir: the whole point of data array is to hand out regular registers
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 11 Jan 2016 17:58:19 +0000 (12:58 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 11 Jan 2016 18:01:11 +0000 (13:01 -0500)
Fixes: 0d3051f75a (nv50/ir: Fix scratch allocation size and file)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_build_util.cpp

index c6d540025d90d067ad0e69215e27d29caa47d994..1bf7240e1313c9dd084768ff06b7cb1af59eba35 100644 (file)
@@ -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);
    }
 }