clover: add more cl_mem_object_type to pipe_texture_target mapping
authorSerge Martin <edb@sigluy.net>
Tue, 19 May 2020 13:56:15 +0000 (15:56 +0200)
committerSerge Martin <edb@sigluy.net>
Tue, 14 Jul 2020 07:33:02 +0000 (09:33 +0200)
commitfea109d40ff8c0bd0f90675fe5b9799cc88240eb
treedd716a99cfe94e46ad682b06deeaa7a140147496
parentac642d8e6d4462266e3947a5aeb77d98656218ea
clover: add more cl_mem_object_type to pipe_texture_target mapping

It avoid unnecessary CL_INVALID_VALUE return from clGetSupportedImageFormats

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5897>
src/gallium/frontends/clover/core/format.cpp