OSDN Git Service

Minor PixelRoutine cleanup
authorAlexis Hetu <sugoi@google.com>
Tue, 11 Aug 2015 14:15:34 +0000 (10:15 -0400)
committerAlexis Hétu <sugoi@google.com>
Wed, 23 Sep 2015 21:27:38 +0000 (21:27 +0000)
commit3e1fd3a7968b3cfedbd8a40e3e9e6f991ef8a54b
tree4dcd65b2ba19a2a8c2ab2573bdba128fcf42b15e
parent3ed1630553ecbb2efd541d6c379ba244e30bd3c6
Minor PixelRoutine cleanup

- Removed redundant parameters from fogBlend()
- Moved computation registers and color output
  registers from PixelRoutine to PixelProgram.
- Made many PixelRoutine member functions
  private rather than protected when possible.

Change-Id: I748333626d993c0d46b369991d74bc3a22c972c2
Reviewed-on: https://swiftshader-review.googlesource.com/3850
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Alexis Hétu <sugoi@google.com>
src/Shader/PixelPipeline.cpp
src/Shader/PixelPipeline.hpp
src/Shader/PixelProgram.cpp
src/Shader/PixelProgram.hpp
src/Shader/PixelRoutine.cpp
src/Shader/PixelRoutine.hpp