devwaker / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Set gl_Position if it's missing in vertex shader #472

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Apparently spec allows this, but with undefined behavior.

However, some drivers (for example, NVIDIA linux driver) will fail.

So we will issue gl_Position = vec4(0.0, 0.0, 0.0, 1.0); if it's not set in the 
vertex shader.

Original issue reported on code.google.com by z...@google.com on 30 Aug 2013 at 1:01

GoogleCodeExporter commented 9 years ago
Note: please cover this under a compilation flag so that it can be turned off.

Original comment by kbr@chromium.org on 30 Aug 2013 at 1:03

GoogleCodeExporter commented 9 years ago
Will do.

Original comment by z...@google.com on 30 Aug 2013 at 1:07

GoogleCodeExporter commented 9 years ago

Original comment by z...@google.com on 19 Sep 2013 at 12:36