[Mesa-dev] [PATCH 0/3 v2] r600g: shader logic improvements

Constantine Kharlamov Hi-Angel at yandex.ru
Sun Apr 9 21:09:44 UTC 2017


Although I didn't see a statistically significant change in GTAⅣ benchmark, it
seem to have reduced stall for opening the door from a house to the outer world
at the first savepoint.

No changes in gpu.py tests of piglit in gbm mode.

v2:	In the 1-st patch was occasionally removed empty line. Don't do that.

	To the 3-rd patch added a check I missed because of macros using prefix.
	Tbh I'd rather prefer to split ps-related logic out of
	r600_update_derived_state(), but after more than hour of looking into it,
	and with understanding only half of the logic, I gave up.

Constantine Kharlamov (3):
  r600g: skip repeating vs, gs, and tes shader binds
  r600g: add draw_vbo check for a NULL pixel shader
  r600g: get rid of dummy pixel shader

 src/gallium/drivers/r600/evergreen_state.c   |  1 +
 src/gallium/drivers/r600/r600_pipe.c         |  9 ----
 src/gallium/drivers/r600/r600_pipe.h         |  4 +-
 src/gallium/drivers/r600/r600_state.c        |  3 +-
 src/gallium/drivers/r600/r600_state_common.c | 77 ++++++++++++++++------------
 5 files changed, 47 insertions(+), 47 deletions(-)

-- 
2.12.2



More information about the mesa-dev mailing list