lima: add support for half float textures
authorErico Nunes <nunes.erico@gmail.com>
Mon, 30 Nov 2020 00:39:26 +0000 (01:39 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 11 Dec 2020 21:14:30 +0000 (21:14 +0000)
commitd9dd8288aa0fc273fd56b87c41f459e29aa385ab
tree07f7aaa82f9bc42feb20dc39a18fe41342931951
parentaca67a555c011f59c37b05544eecbeea9aa42f3e
lima: add support for half float textures

Add support for the half float texel type and pixel types.
This enables the OES_texture_half_float extension.

Tested with piglit test oes_texture_float (half float and with linear
filtering) and passes all deqp half float related tests.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8020>
src/gallium/drivers/lima/lima_format.c
src/gallium/drivers/lima/lima_screen.c