| layout(metal, vulkan, webgpu, direct3d, binding = 0) uniform ubo { float f; }; // multiple backends | |
| layout(texture=0, sampler=0) sampler2D s; // missing backend | |
| /*%%* | |
| only one backend qualifier can be used | |
| layout qualifier 'texture' is not permitted here | |
| layout qualifier 'sampler' is not permitted here | |
| *%%*/ |