clover: Query and export half precision support
authorJan Vesely <jan.vesely@rutgers.edu>
Fri, 1 Sep 2017 21:48:39 +0000 (17:48 -0400)
committerJan Vesely <jan.vesely@rutgers.edu>
Mon, 18 Sep 2017 14:45:02 +0000 (10:45 -0400)
commitfdf0f1db22d1a85abb38131c6f0757eabcdad80a
tree600fc84f0704753869262d3c795d234d55eb3fe0
parent7b2c5547c31360c798db00ef4aa2d2f852363bca
clover: Query and export half precision support

v2: PIPE_CAP_HALFS -> PIPE_SHADER_CAP_FP16
    has_halfs -> has_halves

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/api/device.cpp
src/gallium/state_trackers/clover/core/device.cpp
src/gallium/state_trackers/clover/core/device.hpp