|
1 | | -error[E0277]: the trait bound `Image<f32, 0, 2, 0, 0, 1, 0, 4>: HasGather` is not satisfied |
| 1 | +error[E0277]: the trait bound `Image<f32, 0, 2, 0, 0, 1, 0, 4, ImageAccessUnknown>: HasGather` is not satisfied |
2 | 2 | --> $DIR/gather_err.rs:15:34 |
3 | 3 | | |
4 | 4 | 15 | 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, 4>` |
| 5 | + | ^^^^^^ the trait `HasGather` is not implemented for `Image<f32, 0, 2, 0, 0, 1, 0, 4, ImageAccessUnknown>` |
6 | 6 | | |
7 | 7 | = help: the following other types implement trait `HasGather`: |
8 | | - Image<SampledType, 1, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS> |
9 | | - Image<SampledType, 3, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS> |
10 | | - Image<SampledType, 4, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS> |
11 | | -note: required by a bound in `Image::<SampledType, DIM, DEPTH, ARRAYED, spirv_std::::image::{impl#1}::{constant#0}, SAMPLED, FORMAT, COMPONENTS>::gather` |
12 | | - --> $SPIRV_STD_SRC/image.rs:197:15 |
| 8 | + Image<SampledType, 1, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS, Access> |
| 9 | + Image<SampledType, 3, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS, Access> |
| 10 | + Image<SampledType, 4, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS, Access> |
| 11 | +note: required by a bound in `Image::<SampledType, DIM, DEPTH, ARRAYED, spirv_std::::image::{impl#1}::{constant#0}, SAMPLED, FORMAT, COMPONENTS, Access>::gather` |
| 12 | + --> $SPIRV_STD_SRC/image.rs:208:15 |
13 | 13 | | |
14 | | -190 | pub fn gather<F>( |
| 14 | +201 | pub fn gather<F>( |
15 | 15 | | ------ required by a bound in this associated function |
16 | 16 | ... |
17 | | -197 | Self: HasGather, |
18 | | - | ^^^^^^^^^ required by this bound in `Image::<SampledType, DIM, DEPTH, ARRAYED, spirv_std::::image::{impl#1}::{constant#0}, SAMPLED, FORMAT, COMPONENTS>::gather` |
| 17 | +208 | Self: HasGather, |
| 18 | + | ^^^^^^^^^ required by this bound in `Image::<SampledType, DIM, DEPTH, ARRAYED, spirv_std::::image::{impl#1}::{constant#0}, SAMPLED, FORMAT, COMPONENTS, Access>::gather` |
19 | 19 |
|
20 | | -error[E0277]: the trait bound `Image<f32, 2, 2, 0, 0, 1, 0, 4>: HasGather` is not satisfied |
| 20 | +error[E0277]: the trait bound `Image<f32, 2, 2, 0, 0, 1, 0, 4, ImageAccessUnknown>: HasGather` is not satisfied |
21 | 21 | --> $DIR/gather_err.rs:16:34 |
22 | 22 | | |
23 | 23 | 16 | let r2: glam::Vec4 = image3d.gather(*sampler, v3, 0); |
24 | | - | ^^^^^^ the trait `HasGather` is not implemented for `Image<f32, 2, 2, 0, 0, 1, 0, 4>` |
| 24 | + | ^^^^^^ the trait `HasGather` is not implemented for `Image<f32, 2, 2, 0, 0, 1, 0, 4, ImageAccessUnknown>` |
25 | 25 | | |
26 | 26 | = help: the following other types implement trait `HasGather`: |
27 | | - Image<SampledType, 1, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS> |
28 | | - Image<SampledType, 3, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS> |
29 | | - Image<SampledType, 4, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS> |
30 | | -note: required by a bound in `Image::<SampledType, DIM, DEPTH, ARRAYED, spirv_std::::image::{impl#1}::{constant#0}, SAMPLED, FORMAT, COMPONENTS>::gather` |
31 | | - --> $SPIRV_STD_SRC/image.rs:197:15 |
| 27 | + Image<SampledType, 1, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS, Access> |
| 28 | + Image<SampledType, 3, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS, Access> |
| 29 | + Image<SampledType, 4, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS, Access> |
| 30 | +note: required by a bound in `Image::<SampledType, DIM, DEPTH, ARRAYED, spirv_std::::image::{impl#1}::{constant#0}, SAMPLED, FORMAT, COMPONENTS, Access>::gather` |
| 31 | + --> $SPIRV_STD_SRC/image.rs:208:15 |
32 | 32 | | |
33 | | -190 | pub fn gather<F>( |
| 33 | +201 | pub fn gather<F>( |
34 | 34 | | ------ required by a bound in this associated function |
35 | 35 | ... |
36 | | -197 | Self: HasGather, |
37 | | - | ^^^^^^^^^ required by this bound in `Image::<SampledType, DIM, DEPTH, ARRAYED, spirv_std::::image::{impl#1}::{constant#0}, SAMPLED, FORMAT, COMPONENTS>::gather` |
| 36 | +208 | Self: HasGather, |
| 37 | + | ^^^^^^^^^ required by this bound in `Image::<SampledType, DIM, DEPTH, ARRAYED, spirv_std::::image::{impl#1}::{constant#0}, SAMPLED, FORMAT, COMPONENTS, Access>::gather` |
38 | 38 |
|
39 | 39 | error: aborting due to 2 previous errors |
40 | 40 |
|
|
0 commit comments