diff options
author | Jason Ekstrand <[email protected]> | 2015-09-24 13:51:40 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-09-24 14:45:58 -0700 |
commit | 39cd3783a42926c0c4570d6e5576e2e88baece4f (patch) | |
tree | 4bb2f2be876a101c0f241857c8697cc639877ab8 /src/vulkan/anv_cmd_buffer.c | |
parent | a95f51c1d79848941dae2965dc0d2db4d1fd3d18 (diff) |
anv: Add support for the ICD loader
Diffstat (limited to 'src/vulkan/anv_cmd_buffer.c')
-rw-r--r-- | src/vulkan/anv_cmd_buffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vulkan/anv_cmd_buffer.c b/src/vulkan/anv_cmd_buffer.c index cca5cfae3ef..38d032b3661 100644 --- a/src/vulkan/anv_cmd_buffer.c +++ b/src/vulkan/anv_cmd_buffer.c @@ -109,6 +109,7 @@ VkResult anv_CreateCommandBuffer( if (cmd_buffer == NULL) return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY); + cmd_buffer->_loader_data.loaderMagic = ICD_LOADER_MAGIC; cmd_buffer->device = device; result = anv_cmd_buffer_init_batch_bo_chain(cmd_buffer); |