diff options
author | Jordan Justen <[email protected]> | 2018-02-09 18:36:43 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2018-02-27 11:15:10 -0800 |
commit | 6b274d5cc6186c06dbb8b594e54022e75f80ed8e (patch) | |
tree | 27204b2efdb01736168ef4b297251f95fb9da503 /src/intel/vulkan/anv_queue.c | |
parent | b9af043716effe1af50370e696ced175415fe060 (diff) |
intel/vulkan: Support INTEL_NO_HW environment variable
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Scott D Phillips <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_queue.c')
-rw-r--r-- | src/intel/vulkan/anv_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_queue.c b/src/intel/vulkan/anv_queue.c index c6b2e01c628..b0dcc882edc 100644 --- a/src/intel/vulkan/anv_queue.c +++ b/src/intel/vulkan/anv_queue.c @@ -39,7 +39,7 @@ anv_device_execbuf(struct anv_device *device, struct drm_i915_gem_execbuffer2 *execbuf, struct anv_bo **execbuf_bos) { - int ret = anv_gem_execbuffer(device, execbuf); + int ret = device->no_hw ? 0 : anv_gem_execbuffer(device, execbuf); if (ret != 0) { /* We don't know the real error. */ device->lost = true; |