clover: use PIPE_SHADER_CAP_SUPPORTED_IRS to discover IR
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 9 Feb 2018 01:03:57 +0000 (12:03 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 9 Feb 2018 23:59:10 +0000 (10:59 +1100)
commit51f484bb44f2341d41dbce964d76549cd1a045cb
treeb1f698380312698dbc1adce6473b86f131c680b5
parent3af4f34e6113c3a8b4f62379127ab475de716056
clover: use PIPE_SHADER_CAP_SUPPORTED_IRS to discover IR

PIPE_SHADER_CAP_PREFERRED_IR was conflicting with PIPE_SHADER_IR_NIR
for compute shaders, so we let clover pick the one it wants to use.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/state_trackers/clover/core/device.cpp