Add layout(direct3d) flag.
The Ganesh Direct3D backend will use this to tell the SPIR-V
reader that it needs separate textures and samplers.
Functionally this behaves the same as the `webgpu` qualifier,
but using a dedicated qualifier gives us the option to add
other uses for `webgpu` without affecting the behavior of the
Direct3D backend.
Change-Id: I20d7a83c3622abfe60a317045b4ed2d1d2f357ac
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/749839
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
16 files changed