Module: Mesa Branch: master Commit: 3ccc41ecfc5e9345a1c291748d8840984f7413ae URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ccc41ecfc5e9345a1c291748d8840984f7413ae
Author: Matt Turner <[email protected]> Date: Mon Nov 2 11:26:16 2015 -0800 i965/fs: Replace fs_reg(imm) constructors with brw_imm_*(). Cuts 10k of .text, of which only 776 bytes are the fs_reg constructor implementations themselves. text data bss dec hex filename 5204535 214112 27784 5446431 531b1f i965_dri.so before 5193977 214112 27784 5435873 52f1e1 i965_dri.so after Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> --- src/mesa/drivers/dri/i965/brw_blorp_blit_eu.cpp | 2 +- src/mesa/drivers/dri/i965/brw_fs.cpp | 100 ++++--------- src/mesa/drivers/dri/i965/brw_fs_builder.h | 4 +- .../drivers/dri/i965/brw_fs_combine_constants.cpp | 2 +- src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 150 ++++++++++---------- .../drivers/dri/i965/brw_fs_surface_builder.cpp | 49 +++---- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 42 +++--- src/mesa/drivers/dri/i965/brw_ir_fs.h | 5 - .../drivers/dri/i965/test_fs_cmod_propagation.cpp | 30 ++-- 9 files changed, 167 insertions(+), 217 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=3ccc41ecfc5e9345a1c291748d8840984f7413ae _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
