File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1717// * builtin: `position`
1818
1919// NOTE(eddyb) accounting for the number of errors this test actually produces:
20- // * 422 "attribute is only valid on" errors (see `invalid-target.stderr`)
20+ // * 461 "attribute is only valid on" errors (see `invalid-target.stderr`)
2121// * 40 `#[spirv(...)]` (excluding `macro_rules!`, which doesn't get the above error)
22- // * at most 11 attributes per `#[spirv(...)]`, so an upper bound of `40*11 = 440 `
23- // * the difference between 440 and 422 is 18 , i.e. valid attributes, made up of:
22+ // * at most 12 attributes per `#[spirv(...)]`, so an upper bound of `40*12 = 480 `
23+ // * the difference between 480 and 461 is 19 , i.e. valid attributes, made up of:
2424// * 4 on `_Struct`
2525// * 8 on functions, i.e. 2 on each of:
2626// * `_inherent_method`
2727// * `_trait_method_with_default`,
2828// * `_trait_method` (in `impl _Trait for ()`)
2929// * `_fn`
30- // * 5 on `_entry_param`
30+ // * 6 on `_entry_param`
3131// * 1 on `_closure`
3232
3333#[ spirv(
You can’t perform that action at this time.
0 commit comments