diff --git a/crates/spirv-std/src/image/sample.rs b/crates/spirv-std/src/image/sample.rs index 4032aacd0c..9a3699d69e 100644 --- a/crates/spirv-std/src/image/sample.rs +++ b/crates/spirv-std/src/image/sample.rs @@ -21,9 +21,9 @@ pub struct SomeTy(T); /// struct, and then chain additional calls. /// Example: `image.sample_with(coords, params::bias(3.0).sample_index(1))` pub struct SampleParams { - bias: B, - lod: L, - sample_index: S, + pub bias: B, + pub lod: L, + pub sample_index: S, } /// Sets the 'Bias' image operand