bc3c41b874
Previously, we would emit an invalid [[buffer(-1)]] annotation on the block, causing the Metal compilation to fail. Change-Id: I68b2439c05db3163686e84c5dcc9a5c43870ff67 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/340761 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
5 lines
98 B
Metal
5 lines
98 B
Metal
### Compilation failed:
|
|
|
|
error: 1: Metal interface blocks must have 'layout(binding=...)'
|
|
1 error
|