Skip to content

Commit

Permalink
update rspirv: adjusted tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Firestar99 committed Jan 23, 2024
1 parent 8d3f626 commit 2a3dbcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rustc_codegen_spirv/src/linker/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ fn standard() {
OpMemoryModel Logical OpenCL
OpDecorate %1 LinkageAttributes "foo" Export
%2 = OpTypeFloat 32
%3 = OpConstant %2 42.0
%3 = OpConstant %2 42
%1 = OpVariable %2 Uniform %3"#;

without_header_eq(result, expect);
Expand Down
1 change: 1 addition & 0 deletions tests/ui/lang/core/ref/member_ref_arg-broken.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ warning: `#[inline(never)]` function `member_ref_arg_broken::h` needs to be inli
warning: `#[inline(never)]` function `member_ref_arg_broken::h_newtyped` needs to be inlined because it has illegal argument or return types

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

0 comments on commit 2a3dbcb

Please sign in to comment.