mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-10-29 21:42:20 +00:00
another compile fix
This commit is contained in:
parent
19051b7a11
commit
c298bf2c56
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user