Khronos Public Bugzilla
Bug 244 - Demos don't declare precisons in fragment shaders
Summary: Demos don't declare precisons in fragment shaders
Status: NEW
Alias: None
Product: WebGL
Classification: Unclassified
Component: WG Issue Tracking (show other bugs)
Version: unspecified
Hardware: PC Windows
: P3 normal
Target Milestone: ---
Assignee: 3dweb Working Group email alias
QA Contact:
Depends on:
Reported: 2009-12-08 05:38 PST by Ben Bowman
Modified: 2010-03-18 14:31 PDT (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ben Bowman 2009-12-08 05:38:54 PST
I noticed some of the demos don't include precision qualifiers in their fragment shaders. These shaders fail to compile on an OpenGL ES 2.0 conformant implementation. 

These shaders require either explicit precision qualifiers on their variables, or a global default precision specifier. Note: highp is not mandated in fragment shaders, but is available through an OpenGL ES 2.0 extension.
Comment 1 Jon Leech 2010-03-04 23:47:33 PST
Someone was messing with Bugzilla today. Assigning back to WebGL.