radeonsi: mark unreachable paths to avoid warnings
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 18 Aug 2015 00:23:29 +0000 (03:23 +0300)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 26 Aug 2015 13:42:26 +0000 (15:42 +0200)
commitf8b01ae47cc4760d5687e50f3315b5a89e19cd26
tree532ecbd8c01931e438078e4f9b17bb7b258daf39
parente0c2ea03377b52058324f735f7e1f55bb9d29750
radeonsi: mark unreachable paths to avoid warnings

Otherwise we get:
warning: 'num_user_sgprs' may be used uninitialized in this function
...

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_state_shaders.c