commit | 9613ca569f553666b7397c10321f43bdbb843a13 | [log] [tgz] |
---|---|---|
author | Rob Clark <robclark@freedesktop.org> | Wed Jul 23 17:21:29 2014 -0400 |
committer | Rob Clark <robclark@freedesktop.org> | Fri Jul 25 13:29:28 2014 -0400 |
tree | 7df1540a047790e26ce66ab91cca5fb476e22faf | |
parent | 0bc1fa22d8408fbc16bd5edd3b9d796e5c4e7296 [diff] |
freedreno/a3xx/compiler: make IR heap dyanmic The fixed size heap is a remnant of the fdre-a3xx assembler. Yet it is convenient for being able to free the entire data structure in one shot without worrying about leaking nodes. Change it to dynamically grow the heap size (adding chunks) as needed so we don't have an artificial upper limit on shader size (other than hw limits) and don't always have to allocate worst-case size. Signed-off-by: Rob Clark <robclark@freedesktop.org>