projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dfb36c
)
nvk: Move nvk_cmd_pool cast definitions
author
Faith Ekstrand
<faith.ekstrand@collabora.com>
Tue, 31 Jan 2023 02:11:48 +0000
(20:11 -0600)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 4 Aug 2023 21:31:54 +0000
(21:31 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_cmd_buffer.h
patch
|
blob
|
history
diff --git
a/src/nouveau/vulkan/nvk_cmd_buffer.h
b/src/nouveau/vulkan/nvk_cmd_buffer.h
index
f720c2a
..
b1361e5
100644
(file)
--- a/
src/nouveau/vulkan/nvk_cmd_buffer.h
+++ b/
src/nouveau/vulkan/nvk_cmd_buffer.h
@@
-16,6
+16,9
@@
struct nvk_cmd_pool {
struct nvk_device *dev;
};
+VK_DEFINE_NONDISP_HANDLE_CASTS(nvk_cmd_pool, vk.base, VkCommandPool,
+ VK_OBJECT_TYPE_COMMAND_POOL)
+
struct nvk_cmd_buffer {
struct vk_command_buffer vk;
@@
-30,7
+33,5
@@
VkResult nvk_reset_cmd_buffer(struct nvk_cmd_buffer *cmd_buffer);
VK_DEFINE_HANDLE_CASTS(nvk_cmd_buffer, vk.base, VkCommandBuffer,
VK_OBJECT_TYPE_COMMAND_BUFFER)
-VK_DEFINE_NONDISP_HANDLE_CASTS(nvk_cmd_pool, vk.base, VkCommandPool,
- VK_OBJECT_TYPE_COMMAND_POOL)
#endif