venus: use narrow range to match up with mesa EGL
authorYiwei Zhang <zzyiwei@chromium.org>
Wed, 29 Jun 2022 23:25:54 +0000 (23:25 +0000)
committerMarge Bot <emma+marge@anholt.net>
Thu, 30 Jun 2022 20:11:04 +0000 (20:11 +0000)
commit9f59acaa48eb250efc2488ff5e95d0a46a0f19d9
treed066ced42602f1c24eb0cb0f07f4107dd077eb33
parent93fd97cec460f36a699554dbb162bef8e883684a
venus: use narrow range to match up with mesa EGL

This matches up with the native gl drivers as well as the media stack.

Test: android.graphics.cts.MediaVulkanGpuTest
Test: android.media.cts.EncodeDecodeTest

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17306>
src/virtio/vulkan/vn_android.c