OSDN Git Service

Limit Display-P3 surface formats to 8888
authorCourtney Goeltzenleuchter <courtneygo@google.com>
Thu, 28 Sep 2017 17:34:18 +0000 (11:34 -0600)
committerCourtney Goeltzenleuchter <courtneygo@google.com>
Thu, 28 Sep 2017 20:14:34 +0000 (14:14 -0600)
commitbd7e03a6fa4b4843e924d6477cb7ef75d989ad5e
tree6e3bf8844922f91b074df7d92c7877643482e034
parent7e70ec2c0d38aeaf7bd06519e6bd12f4528eb23d
Limit Display-P3 surface formats to 8888

Discovered that FP16 and 1010102 may not be supported
for Swapchain. Since we don't have a query mechanism
defined, limit P3 to 8888 which must be supported.
Bug: 66706404
Test: adb -d shell am start -n com.drawelements.deqp/android.app.NativeActivity \
-e cmdLine '"deqp --deqp-case=dEQP-VK.wsi.android.colorspace \
--deqp-log-filename=/sdcard/dEQP-Log.qpa"'

Change-Id: If537c631cd40610f6a62c437f8a7aff70f742fff
vulkan/libvulkan/swapchain.cpp