Sign in
skia
/
skia
/
c3f21a5b71597e316649756ddcf0af2cee7036a3
/
.
/
resources
/
sksl
/
errors
/
LayoutInInterfaceBlock.sksl
blob: 0630b738fe43d26335c8814bd84e9c84072dd325 [
file
] [
log
] [
blame
]
struct
A
{
int
x
;
};
t
{
layout
(
binding
=
1
)
A y
;
// Not allowed
layout
(
set
=
0
)
A z
;
// Not allowed
};
/*%%*
layout qualifier 'binding' is not permitted on a struct field
layout qualifier 'set' is not permitted on a struct field
*%%*/