Move InterfaceBlock creation logic out of DSLCore.
DSLCore's responsibility is to wrap IRNodes and make them easier to
use. It shouldn't directly manage IR creation and error handling
unless there is some DSL-specific aspect to it.
While I was refactoring the code, I discovered we didn't have any
tests for the error "sk_RTAdjust must have type 'float4'", so those
have been added as well.
Change-Id: Ibe66734fcc8bfa655053703fccecd3dcffeea21e
Bug: skia:13821
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/593561
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
6 files changed