Skip to content

Commit 5dfcd5c

Browse files
committed
update rspirv: adjusted tests
1 parent f7c0e02 commit 5dfcd5c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

crates/rustc_codegen_spirv/src/linker/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ fn standard() {
275275
OpMemoryModel Logical OpenCL
276276
OpDecorate %1 LinkageAttributes "foo" Export
277277
%2 = OpTypeFloat 32
278-
%3 = OpConstant %2 42.0
278+
%3 = OpConstant %2 42
279279
%1 = OpVariable %2 Uniform %3"#;
280280

281281
without_header_eq(result, expect);

tests/ui/lang/core/ref/member_ref_arg-broken.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ warning: `#[inline(never)]` function `member_ref_arg_broken::h` needs to be inli
33
warning: `#[inline(never)]` function `member_ref_arg_broken::h_newtyped` needs to be inlined because it has illegal argument or return types
44

55
error: error:0:0 - OpLoad Pointer <id> '$ID[%$ID]' is not a logical pointer.
6+
%39 = OpLoad %uint %38
67
|
78
= note: spirv-val failed
89
= note: module `$TEST_BUILD_DIR/lang/core/ref/member_ref_arg-broken.default`

0 commit comments

Comments
 (0)