Bug 74887 - [CSS Shaders] Should get link error for varying value that doesn't exist
Summary: [CSS Shaders] Should get link error for varying value that doesn't exist
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alexandru Chiculita
URL:
Keywords:
Depends on: 74416
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-19 14:47 PST by Alan Stearns
Modified: 2014-03-02 08:59 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Stearns 2011-12-19 14:47:19 PST
If you refer to a varying value that is not written by the fragment shader, you should get a link error.

Example:

precision highp float;

varying vec4 bogus_value;

void main() {
  gl_FragColor = bogus_value;
}