Re: [Mesa-dev] [PATCH] ac: fix build error in si_shader

2018-01-12 Thread Timothy Arceri
Pushed. Thanks! On 13/01/18 01:47, Mauro Rossi wrote: assert() is replaced by unreachable(), to avoid following building error: external/mesa/src/gallium/drivers/radeonsi/si_shader.c:1967:1: error: control may reach end of non-void function [-Werror,-Wreturn-type] } ^ 1 error generated. Fixes:

Re: [Mesa-dev] [PATCH] ac: fix build error in si_shader

2018-01-12 Thread Bas Nieuwenhuizen
On Fri, Jan 12, 2018 at 3:47 PM, Mauro Rossi wrote: > assert() is replaced by unreachable(), to avoid following building error: > > external/mesa/src/gallium/drivers/radeonsi/si_shader.c:1967:1: > error: control may reach end of non-void function [-Werror,-Wreturn-type] > } > ^ > 1 error generated

[Mesa-dev] [PATCH] ac: fix build error in si_shader

2018-01-12 Thread Mauro Rossi
assert() is replaced by unreachable(), to avoid following building error: external/mesa/src/gallium/drivers/radeonsi/si_shader.c:1967:1: error: control may reach end of non-void function [-Werror,-Wreturn-type] } ^ 1 error generated. Fixes: c797cd6 ("ac: add load_patch_vertices_in() to the abi")