00aa1a9259
I should have realized the fuzzer would find this assert when I added it. Now the front-end rejects these layout qualifiers on both struct fields and interface block fields. LayoutInInterfaceBlock.sksl is a reformatted version of the fuzzer input. LayoutInStruct is hand-crafted to trigger the same failure on a different code path. Both would previously assert in the SPIRV generator. Now, neither one gets that far. Bug: oss-fuzz:41347 Change-Id: Iff69d8f5482da7b772e9331c4fd2d58e89813c46 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/476396 Reviewed-by: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
6 lines
174 B
JavaScript
6 lines
174 B
JavaScript
### Compilation failed:
|
|
|
|
error: 2: layout qualifier 'binding' is not permitted on a struct field
|
|
error: 3: layout qualifier 'set' is not permitted on a struct field
|
|
2 errors
|