another compile fix

This commit is contained in:
Sylvester Hesp 2023-04-21 02:12:55 +02:00
parent 19051b7a11
commit c298bf2c56

View File

@ -21,9 +21,9 @@ pub struct SomeTy<T>(T);
/// struct, and then chain additional calls.
/// Example: `image.sample_with(coords, params::bias(3.0).sample_index(1))`
pub struct SampleParams<B: OptionTy, L: OptionTy, S: OptionTy> {
bias: B,
lod: L,
sample_index: S,
pub bias: B,
pub lod: L,
pub sample_index: S,
}
/// Sets the 'Bias' image operand