commit | f0aef1a4e9c5c517dc1b2b37abd25bc45c93df6f | [log] [tgz] |
---|---|---|
author | Nicolas Capens <capn@google.com> | Wed May 18 14:44:21 2016 -0400 |
committer | Nicolas Capens <capn@google.com> | Fri May 20 18:18:16 2016 +0000 |
tree | 310064a743ec3e6bfd706613e2cc18d779fd9f57 | |
parent | 3b4c93fea93733b5ab29902ce2b3c864e40d156c [diff] [blame] |
Make the number of vertex inputs configurable. Change-Id: Ic078acae24dd2b2361a32498b49238b98e0ac0d1 Reviewed-on: https://swiftshader-review.googlesource.com/5386 Reviewed-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
diff --git a/src/Renderer/VertexProcessor.hpp b/src/Renderer/VertexProcessor.hpp index bcbf4fd..9629c47 100644 --- a/src/Renderer/VertexProcessor.hpp +++ b/src/Renderer/VertexProcessor.hpp
@@ -133,7 +133,7 @@ }; }; - Input input[VERTEX_ATTRIBUTES]; + Input input[MAX_VERTEX_INPUTS]; Output output[MAX_VERTEX_OUTPUTS]; };