radeonsi: don't keep compute shader IR after compilation
authorMarek Olšák <marek.olsak@amd.com>
Sat, 2 Nov 2019 01:37:47 +0000 (21:37 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 6 Nov 2019 04:28:43 +0000 (23:28 -0500)
commitabb8011f9d584bc4198d7475d279a6136a9b0403
tree314169aba4147914a55c83f8c5780c3a2b39f5e6
parent62229e89490efd3ce2208571c4c4ef7ae8741760
radeonsi: don't keep compute shader IR after compilation

not needed. We also need to free TGSI in the destroy function for the case
when an app is terminated and si_create_compute_state_async is never
executed because of util_queue_drop_job.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/gallium/drivers/radeonsi/si_compute.c