File tree 2 files changed +2
-1
lines changed
crates/rustc_codegen_spirv/src/linker
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ fn standard() {
275
275
OpMemoryModel Logical OpenCL
276
276
OpDecorate %1 LinkageAttributes "foo" Export
277
277
%2 = OpTypeFloat 32
278
- %3 = OpConstant %2 42.0
278
+ %3 = OpConstant %2 42
279
279
%1 = OpVariable %2 Uniform %3"# ;
280
280
281
281
without_header_eq ( result, expect) ;
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ warning: `#[inline(never)]` function `member_ref_arg_broken::h` needs to be inli
3
3
warning: `#[inline(never)]` function `member_ref_arg_broken::h_newtyped` needs to be inlined because it has illegal argument or return types
4
4
5
5
error: error:0:0 - OpLoad Pointer <id> '$ID[%$ID]' is not a logical pointer.
6
+ %39 = OpLoad %uint %38
6
7
|
7
8
= note: spirv-val failed
8
9
= note: module `$TEST_BUILD_DIR/lang/core/ref/member_ref_arg-broken.default`
You can’t perform that action at this time.
0 commit comments