swr/rast: Optimize DumpToFile output size
authorGeorge Kyriazis <george.kyriazis@intel.com>
Wed, 24 Jan 2018 20:15:02 +0000 (14:15 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Thu, 25 Jan 2018 19:26:49 +0000 (13:26 -0600)
commit5d8f270d10439ce438c8d9d5058801f7146ff0f2
treeea05c094995b79294935f67a0e32d0b6878f510d
parentdfe4dd48ec3a72aea6f787472030803ab8387acc
swr/rast: Optimize DumpToFile output size

Modify DumpToFile to only dump the function, not the entire module.
Reduces file sizes and speeds up the dumping.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp