radeonsi: If pixel shader compilation fails, use a dummy shader.
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 8 Aug 2012 13:35:42 +0000 (15:35 +0200)
committerMichel Dänzer <michel@daenzer.net>
Wed, 8 Aug 2012 13:33:38 +0000 (15:33 +0200)
commit82cd9c0fc2838a153006a646b0d356ed54b8680e
tree6e7665c1a14593555c74839da57b165cfe0dd994
parentbe42a45e023aed5fd82647719bb81bee49a9a2ac
radeonsi: If pixel shader compilation fails, use a dummy shader.

Otherwise we're likely to hang the GPU.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/radeonsi/radeonsi_pipe.c
src/gallium/drivers/radeonsi/radeonsi_pipe.h
src/gallium/drivers/radeonsi/radeonsi_shader.c
src/gallium/drivers/radeonsi/si_state_draw.c