Wgpu added this in v24, but I didn't figure out how to get them working properly before we merged that PR so they're currently unsupported.
There's a basic test for them written. The test and the test input (though the expected output here is incorrect). The test currently panics due to the unwrap because the shader module creation is erroring for some reason.