11error[E0277]: the trait bound `Image<f32, 0, 2, 0, 0, 1, 0>: HasGather` is not satisfied
2- --> $DIR/gather_err.rs:15:34
2+ --> $DIR/gather_err.rs:15:26
33 |
4415 | let r1: glam::Vec4 = image1d.gather(*sampler, 0.0f32, 0);
5- | ^^^^^^ the trait `HasGather` is not implemented for `Image<f32, 0, 2, 0, 0, 1, 0>`
5+ | ^^^^^^^ ------ required by a bound introduced by this call
6+ | |
7+ | the trait `HasGather` is not implemented for `Image<f32, 0, 2, 0, 0, 1, 0>`
68 |
79 = help: the following other types implement trait `HasGather`:
810 Image<SampledType, 1, DEPTH, ARRAYED, 0, SAMPLED, FORMAT>
@@ -15,10 +17,12 @@ note: required by a bound in `Image::<SampledType, DIM, DEPTH, ARRAYED, _, SAMPL
1517 | ^^^^^^^^^ required by this bound in `Image::<SampledType, DIM, DEPTH, ARRAYED, _, SAMPLED, FORMAT>::gather`
1618
1719error[E0277]: the trait bound `Image<f32, 2, 2, 0, 0, 1, 0>: HasGather` is not satisfied
18- --> $DIR/gather_err.rs:16:34
20+ --> $DIR/gather_err.rs:16:26
1921 |
202216 | let r2: glam::Vec4 = image3d.gather(*sampler, v3, 0);
21- | ^^^^^^ the trait `HasGather` is not implemented for `Image<f32, 2, 2, 0, 0, 1, 0>`
23+ | ^^^^^^^ ------ required by a bound introduced by this call
24+ | |
25+ | the trait `HasGather` is not implemented for `Image<f32, 2, 2, 0, 0, 1, 0>`
2226 |
2327 = help: the following other types implement trait `HasGather`:
2428 Image<SampledType, 1, DEPTH, ARRAYED, 0, SAMPLED, FORMAT>
0 commit comments