Defining bindings (or potentially others) should parse 1u32 style integer literals correctly. This is important in proc macros, since quote! always adds the type to the end of an integer. Either we use LitInt from syn or IntegerLit from litrs.
error: attribute value must be integer
--> node-graph/graster-nodes/src/adjustments.rs:58:31
|
58 | #[spirv(descriptor_set = 0, binding = 1u32)] image_input: Image2d,
| ^^^^^^^^^^^^^^
System Info
Defining bindings (or potentially others) should parse
1u32style integer literals correctly. This is important in proc macros, sincequote!always adds the type to the end of an integer. Either we useLitIntfromsynorIntegerLitfromlitrs.System Info