radeonsi: Use dummy pixel shader if compilation of the real shader failed
authorMichel Dänzer <michel.daenzer@amd.com>
Mon, 6 Oct 2014 08:05:38 +0000 (17:05 +0900)
committerMichel Dänzer <michel@daenzer.net>
Tue, 7 Oct 2014 03:07:13 +0000 (12:07 +0900)
commitbe0a994fb8689131bf6a717c1e6fa5a42c3d4657
tree0fc9e4341edd3a3508644bf4f3284a9346f2fa8a
parentf358462640beb7660b9ce2a31d5367fc33421ee1
radeonsi: Use dummy pixel shader if compilation of the real shader failed

Instead of crashing.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79155#c5
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_draw.c