9 lines
323 B
Plaintext
9 lines
323 B
Plaintext
|
|
layout(metal, spirv, wgsl, gl, binding = 0) uniform ubo { float f; }; // multiple backends
|
||
|
|
layout(texture=0, sampler=0) uniform sampler2D s; // invalid (requires backend)
|
||
|
|
|
||
|
|
/*%%*
|
||
|
|
only one backend qualifier can be used
|
||
|
|
layout qualifier 'texture' is not permitted here
|
||
|
|
layout qualifier 'sampler' is not permitted here
|
||
|
|
*%%*/
|