anv/device: fail to initialize device if we have queues with unsupported flags
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 6 Feb 2018 09:37:16 +0000 (10:37 +0100)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 7 Mar 2018 20:13:47 +0000 (12:13 -0800)
commit605fd7c0daa34e76f0b9d10ee77d2c06ac9fe06d
tree8976ac15e97b95e70b36deefd02e283904a5b83b
parentb262f17b159141fb21c60971d21b884dcd226152
anv/device: fail to initialize device if we have queues with unsupported flags

This is not strictly necessary since users should not be requesting any
flags that are not valid for the list of enabled features requested and
we already fail if they attempt to use an unsupported feature, however
it is an easy to implement sanity check that would help developes realize
that they are doing things wrong, so we might as well do it.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c