mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02:00
nir/builder: Fix compilation with gcc-13 when tsan is enabled
../src/compiler/nir/nir_builder.h: In function ‘nir_build_deref_follower’: ../src/compiler/nir/nir_builder.h:1607:1: error: control reaches end of non-void function [-Werror=return-type] 1607 | } Fixes:4a4e175738nir: Support deref instructions in lower_var_copies Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27345> (cherry picked from commit0ab3b3c641)
This commit is contained in:
parent
cb7fe98f3f
commit
b728809a02
2 changed files with 2 additions and 1 deletions
|
|
@ -634,7 +634,7 @@
|
|||
"description": "nir/builder: Fix compilation with gcc-13 when tsan is enabled",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "4a4e1757381c65653fd6a81cf4e969ddff926ed5",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1604,6 +1604,7 @@ nir_build_deref_follower(nir_builder *b, nir_deref_instr *parent,
|
|||
default:
|
||||
unreachable("Invalid deref instruction type");
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static inline nir_def *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue