radeonsi: check the IR type before waiting for a compute compilation fence
authorMarek Olšák <marek.olsak@amd.com>
Mon, 20 Mar 2017 15:39:02 +0000 (16:39 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 20 Mar 2017 22:17:14 +0000 (23:17 +0100)
commit827ae79b2c6cf53e26b3467e4c3965ce6acab3c6
treeffdb1ee73b115d8ac6dac172ebebe394bffb654b
parent40840831244e3d7e46411119b9013d83eef0b6b7
radeonsi: check the IR type before waiting for a compute compilation fence

This should fix OpenCL getting stuck.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100288
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/radeonsi/si_compute.c