2021-03-22 15:54:46 +00:00
|
|
|
error: `Input` storage class is the default and should not be explicitly specified
|
2021-06-11 08:36:03 +00:00
|
|
|
--> $DIR/invalid-storage-class.rs:9:13
|
2021-03-22 15:54:46 +00:00
|
|
|
|
|
2021-06-11 08:36:03 +00:00
|
|
|
9 | #[spirv(input)] _: (),
|
2021-03-22 15:54:46 +00:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error: `Output` storage class is the default and should not be explicitly specified
|
2021-06-11 08:36:03 +00:00
|
|
|
--> $DIR/invalid-storage-class.rs:10:13
|
|
|
|
|
|
|
|
|
10 | #[spirv(output)] _: (),
|
|
|
|
| ^^^^^^
|
2021-03-22 15:54:46 +00:00
|
|
|
|
|
|
|
error: `Private` storage class can not be used as part of an entry's interface
|
2021-06-11 08:36:03 +00:00
|
|
|
--> $DIR/invalid-storage-class.rs:11:13
|
|
|
|
|
|
|
|
|
11 | #[spirv(private)] _: (),
|
|
|
|
| ^^^^^^^
|
2021-03-22 15:54:46 +00:00
|
|
|
|
|
|
|
error: `Function` storage class can not be used as part of an entry's interface
|
2021-06-11 08:36:03 +00:00
|
|
|
--> $DIR/invalid-storage-class.rs:12:13
|
2021-03-22 15:54:46 +00:00
|
|
|
|
|
2021-06-11 08:36:03 +00:00
|
|
|
12 | #[spirv(function)] _: (),
|
2021-03-22 15:54:46 +00:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error: `Generic` storage class can not be used as part of an entry's interface
|
2021-06-11 08:36:03 +00:00
|
|
|
--> $DIR/invalid-storage-class.rs:13:13
|
2021-03-22 15:54:46 +00:00
|
|
|
|
|
2021-06-11 08:36:03 +00:00
|
|
|
13 | #[spirv(generic)] _: (),
|
2021-03-22 15:54:46 +00:00
|
|
|
| ^^^^^^^
|
|
|
|
|
2021-06-11 08:36:03 +00:00
|
|
|
error: aborting due to 5 previous errors
|
2021-03-22 15:54:46 +00:00
|
|
|
|