2023-07-19 15:00:54 +00:00
|
|
|
error: `#[spirv(invariant)]` is only valid on Output variables
|
2021-03-26 09:17:44 +00:00
|
|
|
--> $DIR/invariant-invalid.rs:7:21
|
|
|
|
|
|
|
|
|
7 | pub fn main(#[spirv(invariant)] input: f32) {}
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|