anv: Report 0 physical devices when not on Broadwell or Ivy Bridge
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 2 Nov 2015 20:14:37 +0000 (12:14 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 2 Nov 2015 20:14:37 +0000 (12:14 -0800)
commit584f9d444238baaaacc138c81c46c88af98438f9
tree1083aa1c5e0a7120e309833ff576d7f28e5bd1ee
parent3883728730f293b763a5641560375b18d4f97782
anv: Report 0 physical devices when not on Broadwell or Ivy Bridge

Right now, Broadweel and Ivy Bridge are the only supported platforms.
Hopefully, this reduces the chances that someone will try the driver on
unsupported hardware and be confused that it doesn't work.
src/vulkan/anv_device.c
src/vulkan/anv_private.h