-
Notifications
You must be signed in to change notification settings - Fork 105
Expand file tree
/
Copy pathquery_levels_err.stderr
More file actions
56 lines (54 loc) · 2.07 KB
/
query_levels_err.stderr
File metadata and controls
56 lines (54 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
error[E0277]: the trait bound `Image<f32, 4, 2, 0, 0, 1, 0, 4>: HasQueryLevels` is not satisfied
--> $DIR/query_levels_err.rs:12:21
|
LL | *output = image.query_levels();
| ^^^^^^^^^^^^ the trait `HasQueryLevels` is not implemented for `Image<f32, 4, 2, 0, 0, 1, 0, 4>`
|
help: the following other types implement trait `HasQueryLevels`
--> $SPIRV_STD_SRC/image.rs:1718:1
|
LL | / impl<
LL | | SampledType: SampleType<FORMAT, COMPONENTS>,
LL | | const DEPTH: u32,
LL | | const FORMAT: u32,
... |
LL | | COMPONENTS,
LL | | >
| |_____^ `Image<SampledType, 0, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>`
...
LL | / impl<
LL | | SampledType: SampleType<FORMAT, COMPONENTS>,
LL | | const DEPTH: u32,
LL | | const FORMAT: u32,
... |
LL | | COMPONENTS,
LL | | >
| |_____^ `Image<SampledType, 1, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>`
...
LL | / impl<
LL | | SampledType: SampleType<FORMAT, COMPONENTS>,
LL | | const DEPTH: u32,
LL | | const FORMAT: u32,
... |
LL | | COMPONENTS,
LL | | >
| |_____^ `Image<SampledType, 2, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>`
...
LL | / impl<
LL | | SampledType: SampleType<FORMAT, COMPONENTS>,
LL | | const DEPTH: u32,
LL | | const FORMAT: u32,
... |
LL | | COMPONENTS,
LL | | >
| |_____^ `Image<SampledType, 3, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>`
note: required by a bound in `Image::<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>::query_levels`
--> $SPIRV_STD_SRC/image.rs:971:15
|
LL | pub fn query_levels(&self) -> u32
| ------------ required by a bound in this associated function
LL | where
LL | Self: HasQueryLevels,
| ^^^^^^^^^^^^^^ required by this bound in `Image::<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>::query_levels`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0277`.