oizma / angleproject

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

invariant keyword gets ignored in a few cases #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The invariant keyword gets ignored in the following two cases:
1. When a pragma is used to force all output variables to be invariant:
   - #pragma STDGL invariant(all)
2. When a previously decalared or built-in variable is marked invariant:
   - invariant gl_Position;
   - varying vec3 color; invariant color;

Original issue reported on code.google.com by alokp@chromium.org on 12 Oct 2010 at 10:38

GoogleCodeExporter commented 9 years ago

Original comment by c...@chromium.org on 7 Dec 2013 at 4:10

GoogleCodeExporter commented 9 years ago

Original comment by geofflang@chromium.org on 10 Dec 2013 at 3:46

GoogleCodeExporter commented 9 years ago

Original comment by geofflang@chromium.org on 10 Dec 2013 at 3:47

GoogleCodeExporter commented 9 years ago
What are the symptoms of this issue? Direct3D does not explicitly support 
invariance, but it is strongly suspected that the shader compiler implicitly 
guarantees invariance by using consistent optimizations between shaders.

Original comment by c...@chromium.org on 31 Jan 2014 at 6:54

GoogleCodeExporter commented 9 years ago
This has worked as intended so far. If a reproducible case of apparent 
invariance is encountered, a new ticket should be opened.

Original comment by c...@chromium.org on 21 May 2014 at 2:51