blob: a2da8807269c613a9c3932293d37f8d57504b6ab [file] [log] [blame]
### Compilation failed:
error: 1: only one backend qualifier can be used
layout(metal, vulkan, webgpu, direct3d, binding = 0) uniform ubo { float f; }; // multiple backends
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: 2: layout qualifier 'texture' is not permitted here
layout(texture=0, sampler=0) sampler2D s; // missing backend
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: 2: layout qualifier 'sampler' is not permitted here
layout(texture=0, sampler=0) sampler2D s; // missing backend
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 errors