radeonsi/nir: fix compute shader crash due to nir_binary == NULL
authorMarek Olšák <marek.olsak@amd.com>
Fri, 8 Nov 2019 21:31:35 +0000 (16:31 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 8 Nov 2019 21:47:59 +0000 (16:47 -0500)
commit3ef50b023e86fefc28a27e420f7115f787671d9f
tree5bd3bcea0485266beb3b119bbcd70750774c6e46
parent8b30114dda8b785c9ee3812638d4bd7c4bf658e7
radeonsi/nir: fix compute shader crash due to nir_binary == NULL

This partially reverts 8b30114dda8.

Fixes: 8b30114dda8 "radeonsi/nir: call nir_serialize only once per shader"
src/gallium/drivers/radeonsi/si_state_shaders.c