Skip to content

Commit ea73923

Browse files
LegNeatoFirestar99
authored andcommitted
compiletests: bless sampled image query_size_lod stderr
1 parent 309e809 commit ea73923

1 file changed

Lines changed: 14 additions & 43 deletions

File tree

tests/compiletests/ui/image/query/sampled_image_rect_query_size_lod_err.stderr

Lines changed: 14 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -5,51 +5,22 @@ LL | *output = rect_sampled.query_size_lod(0);
55
| ^^^^^^^^^^^^^^ the trait `HasQuerySizeLod` is not implemented for `Image<f32, 4, 2, 0, 0, 1, 0, 4>`
66
|
77
help: the following other types implement trait `HasQuerySizeLod`
8-
--> /image.rs:2089:1
8+
--> crates/spirv-std/src/image.rs:2089:0
9+
::: crates/spirv-std/src/image.rs:2106:5
910
|
10-
LL | / impl<
11-
LL | | SampledType: SampleType<FORMAT, COMPONENTS>,
12-
LL | | const DEPTH: u32,
13-
LL | | const FORMAT: u32,
14-
... |
15-
LL | | COMPONENTS,
16-
LL | | >
17-
| |_____^ `Image<SampledType, 0, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS>`
18-
...
19-
LL | / impl<
20-
LL | | SampledType: SampleType<FORMAT, COMPONENTS>,
21-
LL | | const DEPTH: u32,
22-
LL | | const FORMAT: u32,
23-
... |
24-
LL | | COMPONENTS,
25-
LL | | >
26-
| |_____^ `Image<SampledType, 1, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS>`
27-
...
28-
LL | / impl<
29-
LL | | SampledType: SampleType<FORMAT, COMPONENTS>,
30-
LL | | const DEPTH: u32,
31-
LL | | const FORMAT: u32,
32-
... |
33-
LL | | COMPONENTS,
34-
LL | | >
35-
| |_____^ `Image<SampledType, 2, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS>`
36-
...
37-
LL | / impl<
38-
LL | | SampledType: SampleType<FORMAT, COMPONENTS>,
39-
LL | | const DEPTH: u32,
40-
LL | | const FORMAT: u32,
41-
... |
42-
LL | | COMPONENTS,
43-
LL | | >
44-
| |_____^ `Image<SampledType, 3, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS>`
45-
note: required by a bound in `SampledImage::<Image<SampledType, DIM, DEPTH, ARRAYED, spirv_std::::image::{impl#9}::{constant#0}, SAMPLED, FORMAT, COMPONENTS>>::query_size_lod`
46-
--> /image.rs:1253:12
11+
= note: `Image<SampledType, 0, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS>`
12+
::: crates/spirv-std/src/image.rs:2126:5
13+
|
14+
= note: `Image<SampledType, 1, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS>`
15+
::: crates/spirv-std/src/image.rs:2146:5
4716
|
48-
LL | pub fn query_size_lod<Size: ImageSizeQuery<u32, DIM, ARRAYED> + Default>(
49-
| -------------- required by a bound in this associated function
50-
...
51-
LL | >: HasQuerySizeLod,
52-
| ^^^^^^^^^^^^^^^ required by this bound in `SampledImage::<Image<SampledType, DIM, DEPTH, ARRAYED, spirv_std::::image::{impl#9}::{constant#0}, SAMPLED, FORMAT, COMPONENTS>>::query_size_lod`
17+
= note: `Image<SampledType, 2, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS>`
18+
::: crates/spirv-std/src/image.rs:2166:5
19+
|
20+
= note: `Image<SampledType, 3, DEPTH, ARRAYED, 0, SAMPLED, FORMAT, COMPONENTS>`
21+
note: required by a bound in `SampledImage::<Image<SampledType, DIM, DEPTH, ARRAYED, spirv_std::::image::{impl#9}::{constant#0}, SAMPLED, FORMAT, COMPONENTS>>::query_size_lod`
22+
--> crates/spirv-std/src/image.rs:1236:4
23+
= note: this error originates in the attribute macro `crate::macros::gpu_only` (in Nightly builds, run with -Z macro-backtrace for more info)
5324

5425
error: aborting due to 1 previous error
5526

0 commit comments

Comments
 (0)