clover/spirv: Add function checking the SPIR-V version
An OpenCL implementation advertising a certain version of the API does not have to support all existing version: some versions are mandatory but not all. For example, the OpenCL 2.1 Specification mentions that conforming implementations have to support SPIR-V 1.0, but only might support higher versions. Reviewed-by:Karol Herbst <kherbst@redhat.com> Reviewed-by:
Francisco Jerez <currojerez@riseup.net> Signed-off-by:
Pierre Moreau <dev@pmoreau.org> Part-of: <mesa/mesa!2078>
Showing
Please register or sign in to comment