Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(396)

Side by Side Diff: src/sksl/sksl_frag.include

Issue 2408053002: Revert of Turned on SkSL->GLSL compiler (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/sksl/sksl.include ('k') | tests/SkSLErrorTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 STRINGIFY( 1 STRINGIFY(
2 2
3 // defines built-in interfaces supported by SkiaSL fragment shaders 3 // defines built-in interfaces supported by SkiaSL fragment shaders
4 4
5 layout(builtin=15) in vec4 gl_FragCoord; 5 layout(builtin=15) in vec4 gl_FragCoord;
6 6
7 // 9999 is a temporary value that causes us to ignore these declarations beyond 7 )
8 // adding them to the symbol table. This works fine in GLSL (where they do not
9 // require any further handling) but will fail in SPIR-V. We'll have a better
10 // solution for this soon.
11 layout(builtin=9999) vec4 gl_LastFragData[1];
12 layout(builtin=9999) vec4 gl_LastFragColor;
13 layout(builtin=9999) vec4 gl_LastFragColorARM;
14 layout(builtin=9999) int gl_SampleMaskIn[];
15 layout(builtin=9999) out int gl_SampleMask[];
16 layout(builtin=9999) vec4 gl_SecondaryFragColorEXT;
17 8
18 layout(location=0,index=0,builtin=10001) out vec4 sk_FragColor;
19
20 )
OLDNEW
« no previous file with comments | « src/sksl/sksl.include ('k') | tests/SkSLErrorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698