| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
dzn: Pass the dzn_event pointer to _mesa_hash_table_insert() The key is supposed to be the dzn_event pointer, not the VkEvent object, even if they do match in practice on 64bit builds. Fixes: a012b219640 ("microsoft: Initial vulkan-on-12 driver") Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16109> (cherry picked from commit 3328f6be062dbd197fd1efe207364bd07c153bd5) | 1 年前 | |
dzn: Fix loop condition in dzn_descriptor_set_copy() We need to make sure we still have descriptors to copy in the while() condition. While at it, drop the assert() checking that the number of descriptors already copied is less than the requested number. Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15828> | 1 年前 | |
dzn: Use the vk_sync_binary abstraction D3D12 fences are capable of handling binary operations, but the current dzn_sync implementation doesn't match vk_sync expectations when sync objects are used to back semaphores. In that case, the wait operation is supposed to set the sync object back to an unsignaled state after the wait succeeded, but there's no way of knowing what the sync object is used for, and this implicit-reset behavior is not expected on fence objects, which also use the sync primitive. That means we currently have a semaphore implementation that works only once, and, as soon as the semaphore object has been signaled it stays in a signaled state until it's destroyed. We could extend the sync framework to pass an implicit-reset-after-wait flag, but, given no one else seems to need that, it's probably simpler to drop the binary sync capability and rely on the binary-on-top-of-timeline emulation provided by the core. Fixes: a012b219640e ("microsoft: Initial vulkan-on-12 driver") Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16629> (cherry picked from commit 1eaba553e24c5569c0f47a6fdd22a545e8e78ffa) | 1 年前 | |
dzn: handle stencil-attachment-optimal layout We missed this one, whoops. Fixes: a012b219640 ("microsoft: Initial vulkan-on-12 driver") Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16997> (cherry picked from commit 4ab49e2530a0dfde64235ed63b38d909dba60213) | 1 年前 | |
dzn: Fix the STATIC_ASSERT() in dzn_meta_blits_get_context() We care about the object key size, not the size of a pointer. Fixes: a012b219640 ("microsoft: Initial vulkan-on-12 driver") Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16109> (cherry picked from commit 1999e927b017cc3bb9ae6cd9726dd587665e8ab8) | 1 年前 | |
dzn: drop needless includes These include either dzn_nir.h or dzn_internal.h which already includes this header. Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15790> | 1 年前 | |
microsoft: Initial vulkan-on-12 driver This is Dozen, the Vulkan on DirectX 12 driver. Not to be confused with DirectEggs. This is an early prototype, and not meant to be upstreamed as-is. Co-Authored-by: Boris Brezillon <boris.brezillon@collabora.com> Co-Authored-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Co-Authored-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Co-Authored-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14766> | 1 年前 | |
dzn: Support independent depth/stencil access Needed for VK_KHR_maintenance2. While at it, fix various places where we were only issuing resource state transition on the first sub-resource instead of doing it per-layer/aspect. Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15698> | 1 年前 | |
dzn: Fix pipeline creation when rasterization is disabled We use some of the VkGraphicsPipelineCreateInfo fields that should be ignored when rasterization in disabled, assuming those who be set to NULL by the caller in that case, which is not mandated by the Vulkan specification. Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15698> | 1 年前 | |
dzn: drop incorrect return statement We're returning nothing here. Let's not do that. Reviewed-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15790> | 1 年前 | |
dzn: Use the vk_sync_binary abstraction D3D12 fences are capable of handling binary operations, but the current dzn_sync implementation doesn't match vk_sync expectations when sync objects are used to back semaphores. In that case, the wait operation is supposed to set the sync object back to an unsignaled state after the wait succeeded, but there's no way of knowing what the sync object is used for, and this implicit-reset behavior is not expected on fence objects, which also use the sync primitive. That means we currently have a semaphore implementation that works only once, and, as soon as the semaphore object has been signaled it stays in a signaled state until it's destroyed. We could extend the sync framework to pass an implicit-reset-after-wait flag, but, given no one else seems to need that, it's probably simpler to drop the binary sync capability and rely on the binary-on-top-of-timeline emulation provided by the core. Fixes: a012b219640e ("microsoft: Initial vulkan-on-12 driver") Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16629> (cherry picked from commit 1eaba553e24c5569c0f47a6fdd22a545e8e78ffa) | 1 年前 | |
microsoft: Initial vulkan-on-12 driver This is Dozen, the Vulkan on DirectX 12 driver. Not to be confused with DirectEggs. This is an early prototype, and not meant to be upstreamed as-is. Co-Authored-by: Boris Brezillon <boris.brezillon@collabora.com> Co-Authored-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Co-Authored-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Co-Authored-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14766> | 1 年前 | |
dzn: Use the vk_sync_binary abstraction D3D12 fences are capable of handling binary operations, but the current dzn_sync implementation doesn't match vk_sync expectations when sync objects are used to back semaphores. In that case, the wait operation is supposed to set the sync object back to an unsignaled state after the wait succeeded, but there's no way of knowing what the sync object is used for, and this implicit-reset behavior is not expected on fence objects, which also use the sync primitive. That means we currently have a semaphore implementation that works only once, and, as soon as the semaphore object has been signaled it stays in a signaled state until it's destroyed. We could extend the sync framework to pass an implicit-reset-after-wait flag, but, given no one else seems to need that, it's probably simpler to drop the binary sync capability and rely on the binary-on-top-of-timeline emulation provided by the core. Fixes: a012b219640e ("microsoft: Initial vulkan-on-12 driver") Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16629> (cherry picked from commit 1eaba553e24c5569c0f47a6fdd22a545e8e78ffa) | 1 年前 | |
dzn: Fix dzn_translate_viewport() when height < 0 Since negative height is not a thing in D3D12, we need to adjust the TopLeftY accordingly. Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15698> | 1 年前 | |
dzn: use dxil_validator Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15751> | 1 年前 | |
microsoft: Initial vulkan-on-12 driver This is Dozen, the Vulkan on DirectX 12 driver. Not to be confused with DirectEggs. This is an early prototype, and not meant to be upstreamed as-is. Co-Authored-by: Boris Brezillon <boris.brezillon@collabora.com> Co-Authored-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Co-Authored-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Co-Authored-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14766> | 1 年前 | |
dozen: require c++20 for designated initializers We do require C++20 still, because designated initializers is part of that standard. This is almost a revert, but conditionally selecting between c++latest or c++20 when available, as that's what we really want. Fixes: 55ca1c8db37 ("vulkan/microsoft: Remove override_options: ['cpp_std=c++latest'] option for visual studio") Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Yonggang Luo <luoyonggang@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15706> | 1 年前 | |
microsoft: Initial vulkan-on-12 driver This is Dozen, the Vulkan on DirectX 12 driver. Not to be confused with DirectEggs. This is an early prototype, and not meant to be upstreamed as-is. Co-Authored-by: Boris Brezillon <boris.brezillon@collabora.com> Co-Authored-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Co-Authored-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Co-Authored-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14766> | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 |