clover: Destory pipe_screen when device does not support compute v2
authorTom Stellard <thomas.stellard@amd.com>
Fri, 9 May 2014 01:08:32 +0000 (21:08 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 9 May 2014 08:33:03 +0000 (04:33 -0400)
commitc5f0c98c49a78777b2564a53028e345195ef275f
tree2695c687c0f60f58d152ec09f3f396d9e7bc3040
parentc650033b863c3ac8388ff1b192b476f63cf81202
clover: Destory pipe_screen when device does not support compute v2

v2:
  - Make sure screen was successfully created before destroying it.

Cc: "10.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/core/device.cpp