[virglrenderer-devel] [PATCH 0/4] Refactor vrend_shader, part I

Gurchetan Singh gurchetansingh at chromium.org
Tue May 8 19:06:28 UTC 2018


This series is intended to have no functional impact. This mainly
moves code around and adds a conversion table in attempt to:

- Add some abstraction to our TGSI to GLSL logic.
- Split up large functions.

This was tested with the dEQP GLES3 suite, where no regressions were
observed. This increases the overall code line count, but may make
subsequent changes / refactors a little easier.

Gurchetan Singh (4):
  vrend_shader: add conversion table
  vrend_shader: use conversion table in iter_instruction
  vrend_shader: move destination register translation
  vrend_shader: move source register translation

 src/vrend_shader.c | 493 +++++++++++++++++++++++++++------------------
 1 file changed, 292 insertions(+), 201 deletions(-)

-- 
2.17.0.441.gb46fe60e1d-goog



More information about the virglrenderer-devel mailing list