diff options
author | Jason Ekstrand <[email protected]> | 2015-12-14 16:51:12 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-12-14 16:51:12 -0800 |
commit | 783a21192c7cc35113ec089354369e1ad34a7df9 (patch) | |
tree | 33527f0a57bb175119f82970d90301735be49f2e /src/vulkan/anv_device.c | |
parent | 1f98bf8da028c4d0e2b47cc1a59e6f004e2207a1 (diff) |
anv: Add support for storage texel buffers
Diffstat (limited to 'src/vulkan/anv_device.c')
-rw-r--r-- | src/vulkan/anv_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index ff224907854..df6472edfde 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -1472,6 +1472,7 @@ VkResult anv_CreateBuffer( return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY); buffer->size = pCreateInfo->size; + buffer->usage = pCreateInfo->usage; buffer->bo = NULL; buffer->offset = 0; |