OSDN Git Service

virgl: force linear texturing support
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 10 Dec 2018 14:57:32 +0000 (14:57 +0000)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 12 Dec 2018 10:44:47 +0000 (11:44 +0100)
commitf856f5019418909d6d6cf8122c23551af165788e
treeca1248d3922d98240a1a0f57955fc9abecc36ae6
parent391894321161b37a3f8ae1cae4ece6c72ea38bc1
virgl: force linear texturing support

When I made sure that half-float texture-filtering was required for ES3,
I didn't realize that virgl doesn't report support for this correctly.
This regressed the GLES version available on top of several drivers,
including i965 from 3.2 to 2.0.

This is going to need protocol changes to fix properly, so let's just
restore the previous behavior by enabling floating-point filtering
unconditionally for now.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Fixes: fcf9fcee3c8 "mesa/main: do not require float-texture filtering for es3"
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/gallium/drivers/virgl/virgl_screen.c