diff options
author | Emil Velikov <[email protected]> | 2016-05-28 20:03:34 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-05-30 10:26:36 +0100 |
commit | ace54034536936c176270afc087675390072b17c (patch) | |
tree | e6ecd314b7af9237e87fd4b6fd65e551c2f6c39f /src/intel/vulkan/anv_cmd_buffer.c | |
parent | 93e65fdcac10545504b588e24d3ef03fa3e9e424 (diff) |
anv: bail out if anv_wsi_init() fails
Otherwise we'll end up setting up a device with no winsys integration.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
---
Hard-coding the rendernode name in anv_physical_device_init() is a bad
idea really. We could/should be using drmGetDevices() to get info on all
the devices (master/render/etc. node names, pci location etc.) and apply
our heuristics on top of that.
That can come up as a follow up change.
Diffstat (limited to 'src/intel/vulkan/anv_cmd_buffer.c')
0 files changed, 0 insertions, 0 deletions