4449ca6cd4
The builtin variable scanner did not check builtin code for the presence of sk_FragColor, etc. We currently get away with this because none of the existing builtin code uses a builtin variable. Now FindAndDeclareBuiltinVariables checks shared program elements too. Change-Id: Ifb3ee3857ef73b18d9e4f406970f0f67681dd4be Reviewed-on: https://skia-review.googlesource.com/c/skia/+/525042 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com>
7 lines
38 B
GLSL
7 lines
38 B
GLSL
|
|
in T {
|
|
int x;
|
|
};
|
|
void main() {
|
|
}
|