OSDN Git Service

VertexRoutine code for Transform Feedback
authorAlexis Hetu <sugoi@google.com>
Wed, 20 Apr 2016 19:29:51 +0000 (15:29 -0400)
committerAlexis Hétu <sugoi@google.com>
Fri, 20 May 2016 21:20:33 +0000 (21:20 +0000)
commita62a0cabb2227c6dc217e19cf13df70e8eccab41
tree520618bf32866604733f375c1e2362012f7acdb4
parent7be70cf98f4f7f0159a73f6b9c3b3e74739b2774
VertexRoutine code for Transform Feedback

This cl adds the code that actually performs the copy of the
vertex shader outputs into transform feedback buffers. It
also contains a fix for symmetricNormalizedDepth, which must
be computed after the information was copied into the
transform feedback buffers, when transform feedback is active.

Change-Id: I418f94a15b9425bba0905c840f8cf4828233d0fb
Reviewed-on: https://swiftshader-review.googlesource.com/5172
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
src/Renderer/Renderer.cpp
src/Renderer/VertexProcessor.cpp
src/Renderer/VertexProcessor.hpp
src/Shader/VertexRoutine.cpp
src/Shader/VertexRoutine.hpp