commit | 6435b32fbf30883b84f35f96a7325c8b3413c7a7 | [log] [tgz] |
---|---|---|
author | Yiwei Zhang <zzyiwei@google.com> | Tue May 08 11:12:17 2018 -0700 |
committer | Yiwei Zhang <zzyiwei@google.com> | Tue May 08 22:08:01 2018 +0000 |
tree | 39400ad288fdd68bee6d6b34425f11fe33157078 | |
parent | 7dbedde3d351d4a0e29689960923bea25d0b59ee [diff] |
libvulkan: VkSurfaceKHR shouldn't work with must-be-YUV native windows When the provider of a Surface(the consumer) has set a default format that Vulkan can't render to, and the consumer usage bits include USAGE_CPU_*, we should let the user know the specific format asked for is not supported. Test: Test on the surface from yuv format ImageReader Bug: b/77853189 Change-Id: Id243f53b92667c621bbfb731bad37784823ba04f