1
1
error[E0277]: the trait bound `Image<f32, 0, 2, 0, 0, 1, 0>: HasGather` is not satisfied
2
- --> $DIR/gather_err.rs:15:26
2
+ --> $DIR/gather_err.rs:15:34
3
3
|
4
4
15 | let r1: glam::Vec4 = image1d.gather(*sampler, 0.0f32, 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>`
5
+ | ^^^^^^ the trait `HasGather` is not implemented for `Image<f32, 0, 2, 0, 0, 1, 0>`
8
6
|
9
7
= help: the following other types implement trait `HasGather`:
10
8
Image<SampledType, 1, DEPTH, ARRAYED, 0, SAMPLED, FORMAT>
@@ -17,12 +15,10 @@ note: required by a bound in `Image::<SampledType, DIM, DEPTH, ARRAYED, _, SAMPL
17
15
| ^^^^^^^^^ required by this bound in `Image::<SampledType, DIM, DEPTH, ARRAYED, _, SAMPLED, FORMAT>::gather`
18
16
19
17
error[E0277]: the trait bound `Image<f32, 2, 2, 0, 0, 1, 0>: HasGather` is not satisfied
20
- --> $DIR/gather_err.rs:16:26
18
+ --> $DIR/gather_err.rs:16:34
21
19
|
22
20
16 | let r2: glam::Vec4 = image3d.gather(*sampler, v3, 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>`
21
+ | ^^^^^^ the trait `HasGather` is not implemented for `Image<f32, 2, 2, 0, 0, 1, 0>`
26
22
|
27
23
= help: the following other types implement trait `HasGather`:
28
24
Image<SampledType, 1, DEPTH, ARRAYED, 0, SAMPLED, FORMAT>
0 commit comments