Open averyanalex opened 1 year ago
We don't currently support non 32 bit integers.
SHADER_FLOAT64
enables only 64 bit floats.
Would love both u64 support in shaders, as well as R64Uint textures.
I think u8
support is needed to allow rust-gpu
's enums to work? I can compile Rust's dataless enums into SPIR-V without issue, I just need to add the Int8
capability to the rust-gpu
compiler. But then when I try to load the shader into wgpu
, I get: Shader '' parsing error: InvalidTypeWidth(1)
. Does that seem right?
Is there an issue to track for this?
I tried to load SPIRV compute shader compiled by rust-gpu with u64 integers and got validation error:
Adding wgpu::Features::SHADER_FLOAT64 to features didn't help.