ac: fix build error in si_shader
authorMauro Rossi <issor.oruam@gmail.com>
Fri, 12 Jan 2018 14:47:34 +0000 (15:47 +0100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sat, 13 Jan 2018 07:13:07 +0000 (18:13 +1100)
commit4d61eb80187cd8e5984eed94f2ae3c7d6c3b3aa0
tree1d5b08a209c72a8fa3cdc9859dedc4fe74e6652f
parentf0d74ecce8d3353ed2696cb4b1e707fd6ddf0a40
ac: fix build error in si_shader

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")
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/gallium/drivers/radeonsi/si_shader.c