mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48: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: 4a4e175738
nir: 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>
This commit is contained in:
parent
80a1b91601
commit
0ab3b3c641
1 changed files with 1 additions and 0 deletions
|
|
@ -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