Sign in
skia
/
skia
/
5dd1b7d6a303ef5b626801838fc646076df4cd76
/
.
/
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
*%%*/