File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 17
17
// * builtin: `position`
18
18
19
19
// 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`)
21
21
// * 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:
24
24
// * 4 on `_Struct`
25
25
// * 8 on functions, i.e. 2 on each of:
26
26
// * `_inherent_method`
27
27
// * `_trait_method_with_default`,
28
28
// * `_trait_method` (in `impl _Trait for ()`)
29
29
// * `_fn`
30
- // * 5 on `_entry_param`
30
+ // * 6 on `_entry_param`
31
31
// * 1 on `_closure`
32
32
33
33
#[ spirv(
You can’t perform that action at this time.
0 commit comments