DescriptionAdd an option in ANGLE shader translator to initialize gl_Position to vec4(0.0, 0.0, 0.0, 1.0).
This is to work around driver bugs where shader compile or program link would fail incorrectly if gl_Position is not set in vertex shader.
At the moment at least Linux NVIDIA driver has this bug.
ANGLEBUG=472
R=alokp@chromium.org, kbr@chromium.org
Committed: https://code.google.com/p/angleproject/source/detail?r=fc75e21
Patch Set 1 #Patch Set 2 : minor #
Total comments: 6
Patch Set 3 : change #
Total comments: 1
Patch Set 4 : per kbr's suggestion #Patch Set 5 : modifying AST approach #
Total comments: 2
Patch Set 6 : Fix a bug #
Total comments: 9
Patch Set 7 : revision per alokp review #Patch Set 8 : rebase #
MessagesTotal messages: 19
|