[Mesa-dev] [PATCH 0/3] i965: Delete all of the non-NIR vec4 code

Jason Ekstrand jason at jlekstrand.net
Mon Sep 21 15:18:40 PDT 2015


At this point, piglit is the same as for GLSL and the shader-db numbers are
looking pretty good.  On SNB, GLSL vs. NIR for vec4 programs is:

   total instructions in shared programs: 2020573 -> 1822601 (-9.80%)
   instructions in affected programs:     1883334 -> 1685362 (-10.51%)
   helped:                                13328
   HURT:                                  3594

and there are patches on the list that improve this to

   total instructions in shared programs: 2020283 -> 1805487 (-10.63%)
   instructions in affected programs:     1855759 -> 1640963 (-11.57%)
   helped:                                14142
   HURT:                                  2346

More shader-db numbers can be found in the first real patch.

Jason Ekstrand (3):
  i965/vec4: Always use NIR
  i965/vec4: Delete the old ir_visitor code
  i965/vec4: Delete the old vec4_vp code

 src/mesa/drivers/dri/i965/Makefile.sources         |    1 -
 src/mesa/drivers/dri/i965/brw_shader.cpp           |    3 +-
 src/mesa/drivers/dri/i965/brw_vec4.cpp             |   35 +-
 src/mesa/drivers/dri/i965/brw_vec4.h               |   74 +-
 src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp  |   39 -
 src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.h    |    4 -
 src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp     | 2106 ++------------------
 src/mesa/drivers/dri/i965/brw_vec4_vp.cpp          |  649 ------
 src/mesa/drivers/dri/i965/brw_vs.h                 |    1 -
 src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp      |   15 +-
 src/mesa/drivers/dri/i965/gen6_gs_visitor.h        |    2 -
 .../dri/i965/test_vec4_copy_propagation.cpp        |    5 -
 .../dri/i965/test_vec4_register_coalesce.cpp       |    5 -
 13 files changed, 131 insertions(+), 2808 deletions(-)
 delete mode 100644 src/mesa/drivers/dri/i965/brw_vec4_vp.cpp

-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list