WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
114636
[CSS Shaders] Add a test with a vertex, fragment shader pair that compiles but don't link
https://bugs.webkit.org/show_bug.cgi?id=114636
Summary
[CSS Shaders] Add a test with a vertex, fragment shader pair that compiles bu...
Max Vujovic
Reported
2013-04-15 14:04:12 PDT
We should have a test in which a fragment shader tries to read from a varying that the vertex shader did not define. I suspect that this case works correctly, but we have an incorrect assertion that will get tripped.
Attachments
Patch
(3.70 KB, patch)
2013-04-16 14:58 PDT
,
Michelangelo De Simone
no flags
Details
Formatted Diff
Diff
Patch
(3.24 KB, patch)
2013-04-16 15:20 PDT
,
Michelangelo De Simone
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Michelangelo De Simone
Comment 1
2013-04-16 14:58:43 PDT
Created
attachment 198437
[details]
Patch
Max Vujovic
Comment 2
2013-04-16 15:17:02 PDT
Comment on
attachment 198437
[details]
Patch Looks great! Just a couple of nits. View in context:
https://bugs.webkit.org/attachment.cgi?id=198437&action=review
> LayoutTests/ChangeLog:7 > + don't lead to unexpected crashes due to linking errors.
You might want to add that "The current implementation does not crash, and this test will verify that it doesn't crash in the future."
> LayoutTests/css3/filters/custom/custom-filter-unavailable-varying.html:5 > + #ohmymy {
Could you change this name to "#filter-target"?
> LayoutTests/css3/filters/custom/custom-filter-unavailable-varying.html:9 > + -webkit-filter: custom(url('../resources/unavailable-varying.vs') mix(url('../resources/unavailable-varying.fs') normal source-atop));
Your vertex shader looks a lot like the implementation's default shader. Maybe you use the "none" keyword instead of "unavailable-varying.vs"?
Michelangelo De Simone
Comment 3
2013-04-16 15:20:24 PDT
Created
attachment 198442
[details]
Patch
WebKit Commit Bot
Comment 4
2013-04-16 17:06:11 PDT
Comment on
attachment 198442
[details]
Patch Clearing flags on attachment: 198442 Committed
r148581
: <
http://trac.webkit.org/changeset/148581
>
WebKit Commit Bot
Comment 5
2013-04-16 17:06:14 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug