This website requires JavaScript.
ReeceSX
Explore
Aurora
Register
Sign In
AuroraMiddleware
/
skia2
Watch
1
Star
0
Fork
0
You've already forked skia2
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
82491c5d65
skia2
/
resources
/
sksl
/
errors
/
ModifiersInStruct.sksl
8 lines
116 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Reject struct vardecls with modifiers. These aren't allowed in GLSL, and typically don't make sense. Change-Id: I0afca0df638590466922a809e91ef0be35b13ca8 Bug: skia:10765 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/324816 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2020-10-09 21:42:31 +00:00
struct S {
const float a;
uniform int b;
flat half4 c;
noperspective float4 d;
Remove custom SkVertices data and runtime effect `varying` support This was an experimental feature. It worked (but only the GPU backend). It was never adopted or used by anyone, to my knowledge. It's a large amount of code, and a strange corner of SkSL for users to stumble into. Bug: skia:10680 Change-Id: I0dda0364bce7dbffa58c32de4c7801ec2a6bc42e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/398222 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
2021-04-19 15:15:24 +00:00
inout bool e;
Reject struct vardecls with modifiers. These aren't allowed in GLSL, and typically don't make sense. Change-Id: I0afca0df638590466922a809e91ef0be35b13ca8 Bug: skia:10765 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/324816 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2020-10-09 21:42:31 +00:00
};
Reference in New Issue
Copy Permalink