xuxiandi / angleproject

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

webgl_emu_precision compile error with SH_EMULATE_BUILT_IN_FUNCTIONS #242

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to http://madebyevan.com/webgl-water/ or 
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conforma
nce/glsl/functions/glsl-function-cos.html.
2. Get error "compile error: ERROR: 0:5: 'webgl_emu_precision': syntax error 
syntax error"

What is the expected output? What do you see instead?
No errors expected.

What version of the product are you using? On what operating system?
ANGLE r809, Mac OS X 10.7. This doesn't appear to be an issue on any other OS, 
or on previous versions of OS X. 

Please provide any additional information below.
Firefox Nightly
Note that disabling SH_EMULATE_BUILT_IN_FUNCTIONS fixes this.

Original issue reported on code.google.com by d...@sherk.me on 3 Nov 2011 at 9:52

GoogleCodeExporter commented 9 years ago
Mo, can you take this?

Original comment by kbr@chromium.org on 4 Nov 2011 at 12:17

GoogleCodeExporter commented 9 years ago
yes

Original comment by zmo@chromium.org on 4 Nov 2011 at 12:38

GoogleCodeExporter commented 9 years ago
groby@chromium.org provided a CL that fixes this bug: 
http://codereview.appspot.com/5482053/

The CL is landed as r910 & r911.

Original comment by z...@google.com on 13 Dec 2011 at 6:29