commit | eb7bdbcb5d15b19a38dc726968f4e4b59b8080e1 | [log] [tgz] |
---|---|---|
author | Yiwei Zhang <zzyiwei@google.com> | Fri Feb 02 12:49:28 2018 -0800 |
committer | Yiwei Zhang <zzyiwei@google.com> | Tue Feb 06 03:11:46 2018 +0000 |
tree | da964378872759a534a49d1247a69d2e6cd63cb8 | |
parent | 64afc024d760e31f3f41e0c5cb8fc543c9392ef1 [diff] |
vkGetDeviceQueue2: add a NULL check The current driver::GetDeviceQueue2() will indeed crash if the driver returns a NULL queue, which it is supposed to do if the pQueueInfo->flags doesn't match the flags requested for the queue family. Thus need to add a NULL check for pQueue here in case. Test: deqp vulkancts test Bug: b/72867433 Change-Id: I306c1a1db52a9986801357eaeb357536ecb0428e