[Mesa-dev] [PATCH 0/5] i965/fs: Remove the old visitor code

Jason Ekstrand jason at jlekstrand.net
Wed May 20 11:09:01 PDT 2015


Now that we're using NIR by default and everything seems stable there, we
have about 3000 lines of extra code lying around that we don't need.  We
might as well delete it. :-)

This series together with one of the patches I sent yesterday can be found
in the review/fs-nir-only branch on my freedesktop:

http://cgit.freedesktop.org/~jekstrand/mesa/log/?h=review/fs-nir-only

Jason Ekstrand (5):
  i965: Rename backend_visitor to backend_shader
  i965: Make fs/vec4_visitor inherit from ir_visitor directly
  i965: Make NIR non-optional for scalar shaders
  i965: Remove the old fragment program code
  i965/fs: Remove the ir_visitor code

 src/mesa/drivers/dri/i965/Makefile.sources         |    1 -
 src/mesa/drivers/dri/i965/brw_cfg.cpp              |   10 +-
 src/mesa/drivers/dri/i965/brw_cfg.h                |    4 +-
 src/mesa/drivers/dri/i965/brw_context.c            |    7 +-
 .../drivers/dri/i965/brw_dead_control_flow.cpp     |    6 +-
 src/mesa/drivers/dri/i965/brw_dead_control_flow.h  |    2 +-
 src/mesa/drivers/dri/i965/brw_fs.cpp               |  128 +-
 src/mesa/drivers/dri/i965/brw_fs.h                 |   76 +-
 src/mesa/drivers/dri/i965/brw_fs_fp.cpp            |  742 -------
 src/mesa/drivers/dri/i965/brw_fs_visitor.cpp       | 2141 +-------------------
 .../drivers/dri/i965/brw_schedule_instructions.cpp |   18 +-
 src/mesa/drivers/dri/i965/brw_shader.cpp           |   20 +-
 src/mesa/drivers/dri/i965/brw_shader.h             |   12 +-
 src/mesa/drivers/dri/i965/brw_vec4.cpp             |    4 +-
 src/mesa/drivers/dri/i965/brw_vec4.h               |    2 +-
 src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp     |    2 +-
 16 files changed, 79 insertions(+), 3096 deletions(-)
 delete mode 100644 src/mesa/drivers/dri/i965/brw_fs_fp.cpp

-- 
2.4.1



More information about the mesa-dev mailing list